Package jsl.modeling.elements.entity
Class AttributeType
- java.lang.Object
-
- jsl.modeling.elements.entity.AttributeType
-
- All Implemented Interfaces:
GetNameIfc
,IdentityIfc
public class AttributeType extends java.lang.Object implements IdentityIfc
-
-
Constructor Summary
Constructors Modifier Constructor Description protected
AttributeType()
protected
AttributeType(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description int
getId()
Gets a uniquely assigned integer identifier for this attribute type.java.lang.String
getName()
Gets this attribute type's name.protected void
setName(java.lang.String str)
Sets the name of this attribute type
-
-
-
Method Detail
-
setName
protected void setName(java.lang.String str)
Sets the name of this attribute type- Parameters:
str
- The name as a string.
-
getName
public final java.lang.String getName()
Gets this attribute type's name.- Specified by:
getName
in interfaceGetNameIfc
- Returns:
- The name of the attribute type.
-
getId
public final int getId()
Gets a uniquely assigned integer identifier for this attribute type. This identifier is assigned when the attribute type is created. It may vary if the order of creation changes.- Specified by:
getId
in interfaceIdentityIfc
- Returns:
- The identifier for the attribute type.
-
-