com.rapidtransform.core.model
Class AbstractBaseModel
java.lang.Object
com.rapidtransform.core.model.AbstractBaseModel
- All Implemented Interfaces:
- Model, java.io.Serializable
- Direct Known Subclasses:
- AbstractSpecRelation, Address, Alias, ApplicationContext, Approval, ApprovalRelation, ApprovalStatus, BaseRelation, BaseSpecRelation, ClassCategoryAssociation, ClassConditionAssociation, ClassificationAssociation, ClassificationAttribute, ClassificationSystem, ClassInclusionAssociation, ClassStructureRelation, ComplexProductRelation, ComponentPlacement, Configuration, DateTime, DateTimeAssignment, DescriptiveSpec, DesignConstraintAssociation, DesignConstraintRelation, Duration, Effectivity, EffectivityAssignment, ExternalLibrary, GenericClassification, GenericHierarchy, InstancePlacement, ItemClassification, ItemClassificationHierarchy, ItemFunctionAssociation, ItemInstanceRelation, ItemVersionRelation, ItemViewInstanceRelation, ItemViewRelation, ManufacturingConfig, Organization, OrganizationEvent, OrganizationRelation, Person, PersonDateAssignment, PersonDateOrg, PersonOrganizationAssignment, PersonRole, PersonRoleRelation, PhysicalAssemblyRelation, PhysicalInstance, PhysicalInstanceTestResult, ProductDesign, ProductStructureRelation, Quantity, Role, SpecCategory, SpecExpression, SpecInclusion, User, UserRoleRelation, ValidValue, VersionControlled
public abstract class AbstractBaseModel
- extends java.lang.Object
- implements java.io.Serializable, Model
Base class for Model objects. This class implements basic functionality for Model objects, for example
toString, equals, and hashCode methods.
- See Also:
- Serialized Form
Methods inherited from class java.lang.Object |
getClass, notify, notifyAll, toString, wait, wait, wait |
AbstractBaseModel
public AbstractBaseModel()
getId
public java.lang.Long getId()
- Specified by:
getId
in interface Model
setId
public void setId(java.lang.Long id)
setUuid
public void setUuid(java.lang.String id)
getUuid
public java.lang.String getUuid()
- Specified by:
getUuid
in interface Model
generateUuid
public java.lang.String generateUuid()
getMetaTypeName
public QName getMetaTypeName()
- Specified by:
getMetaTypeName
in interface Model
setMetaTypeName
public void setMetaTypeName(QName qName)
- Specified by:
setMetaTypeName
in interface Model
getPropertyHolder
public PropertyHolder getPropertyHolder()
- Specified by:
getPropertyHolder
in interface Model
- Returns:
- Returns the propertyHolder.
setPropertyHolder
public void setPropertyHolder(PropertyHolder propertyHolder)
- Specified by:
setPropertyHolder
in interface Model
- Parameters:
propertyHolder
- The propertyHolder to set.
equals
public boolean equals(java.lang.Object other)
- Overrides:
equals
in class java.lang.Object
hashCode
public int hashCode()
- Overrides:
hashCode
in class java.lang.Object