Package mc.core.model.generic
Class ClassificationToAttribute
java.lang.Object
mc.core.model.generic.ClassificationToAttribute
- All Implemented Interfaces:
Serializable,IAttributeAssignment,IBaseEntity,ICoreEntity,IObjectAssignment,ISortableEntity
@Entity
public class ClassificationToAttribute
extends Object
implements IBaseEntity, IAttributeAssignment
Entity representing the association of an Attribute to a Classification. These assignments are used to create a
feature set for all complex entities assigned to the Classification.
- See Also:
-
Nested Class Summary
Nested ClassesNested classes/interfaces inherited from interface mc.core.model.base.IObjectAssignment
IObjectAssignment.ObjectAssignmentBase -
Constructor Summary
ConstructorsConstructorDescriptiondefault constructorClassificationToAttribute(Classification classification, Attribute attribute, int prio) constructor with mandatory member -
Method Summary
Modifier and TypeMethodDescriptionbooleanattribute entity of assignmentproperty for storing generic filter data for this assignment, e.g.longgetId()intgetPrio()inthashCode()booleantells if Attribute value is mandatory for ComplexEntity assigned to this ClassificationvoidsetAttribute(Attribute attribute) voidsetClassification(Classification classification) voidvoidsetId(long id) voidsetMandatory(boolean mandatory) voidsetPrio(int prio) toString()Methods inherited from interface mc.core.model.base.IAttributeAssignment
isPreview, isReadonly, supportPreview
-
Constructor Details
-
ClassificationToAttribute
public ClassificationToAttribute()default constructor -
ClassificationToAttribute
constructor with mandatory member
-
-
Method Details
-
getId
public long getId()- Specified by:
getIdin interfaceIBaseEntity
-
setId
public void setId(long id) - Specified by:
setIdin interfaceIBaseEntity
-
getAttribute
Description copied from interface:IAttributeAssignmentattribute entity of assignment- Specified by:
getAttributein interfaceIAttributeAssignment
-
setAttribute
-
getClassification
-
setClassification
-
getPrio
public int getPrio()- Specified by:
getPrioin interfaceISortableEntity
-
setPrio
public void setPrio(int prio) - Specified by:
setPrioin interfaceISortableEntity
-
isMandatory
public boolean isMandatory()tells if Attribute value is mandatory for ComplexEntity assigned to this Classification- Specified by:
isMandatoryin interfaceIAttributeAssignment
-
setMandatory
public void setMandatory(boolean mandatory) -
getFilter
property for storing generic filter data for this assignment, e.g. Ids of allowed dataValueSets- Specified by:
getFilterin interfaceIAttributeAssignment
-
setFilter
-
getAssignedObject
- Specified by:
getAssignedObjectin interfaceIObjectAssignment- Returns:
- the object that holds the list of assigned entities
-
equals
-
hashCode
public int hashCode() -
toString
-