Class DomainObject

java.lang.Object
ch.ifocusit.livingdoc.plugin.mapping.DomainObject
All Implemented Interfaces:
Comparable<DomainObject>

public class DomainObject extends Object implements Comparable<DomainObject>
  • Constructor Details

    • DomainObject

      public DomainObject()
  • Method Details

    • getId

      public Integer getId()
    • setId

      public DomainObject setId(Integer id)
    • getName

      public String getName()
    • setName

      public DomainObject setName(String name)
    • getAnnotations

      public String getAnnotations()
    • getFullDescription

      public String getFullDescription()
    • setDescription

      public DomainObject setDescription(String description)
    • getDescription

      public String getDescription()
    • setNamespace

      public void setNamespace(String namespace)
    • setParentName

      public void setParentName(String parentName)
    • getParentName

      public String getParentName()
    • setMapped

      public void setMapped(boolean mapped)
    • addAnnotation

      public void addAnnotation(String annotation)
    • setType

      public void setType(com.thoughtworks.qdox.model.JavaClass type)
    • getType

      public com.thoughtworks.qdox.model.JavaClass getType()
    • getFullName

      public String 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

      public int compareTo(DomainObject o)
      Specified by:
      compareTo in interface Comparable<DomainObject>
    • hashCode

      public int hashCode()
      Overrides:
      hashCode in class Object
    • equals

      public boolean equals(Object obj)
      Overrides:
      equals in class Object