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 protectedAttributeType()protectedAttributeType(java.lang.String name)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description intgetId()Gets a uniquely assigned integer identifier for this attribute type.java.lang.StringgetName()Gets this attribute type's name.protected voidsetName(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:
getNamein 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:
getIdin interfaceIdentityIfc- Returns:
- The identifier for the attribute type.
-
-