Class DomainObject
java.lang.Object
ch.ifocusit.livingdoc.plugin.mapping.DomainObject
- All Implemented Interfaces:
Comparable<DomainObject>
-
Constructor Summary
Constructors -
Method Summary
Modifier and TypeMethodDescriptionvoidaddAnnotation(String annotation) intbooleanThe full name of a domain object is it's qualified name like Class.field.getId()getName()com.thoughtworks.qdox.model.JavaClassgetType()inthashCode()setDescription(String description) voidsetMapped(boolean mapped) voidsetNamespace(String namespace) voidsetParentName(String parentName) voidsetType(com.thoughtworks.qdox.model.JavaClass type)
-
Constructor Details
-
DomainObject
public DomainObject()
-
-
Method Details
-
getId
-
setId
-
getName
-
setName
-
getAnnotations
-
getFullDescription
-
setDescription
-
getDescription
-
setNamespace
-
setParentName
-
getParentName
-
setMapped
public void setMapped(boolean mapped) -
addAnnotation
-
setType
public void setType(com.thoughtworks.qdox.model.JavaClass type) -
getType
public com.thoughtworks.qdox.model.JavaClass getType() -
getFullName
The full name of a domain object is it's qualified name like Class.field. If the domain object is mapped, i.e. it has been translated by a business glossary file, then the fullName is only the translated name. Parent class name is not showed because the field should already be fully qualified by it's translation.- Returns:
- the full name as it will be represented in the glossary.
-
compareTo
- Specified by:
compareToin interfaceComparable<DomainObject>
-
hashCode
public int hashCode() -
equals
-