public class ERMAttribute
extends java.lang.Object
implements java.io.Serializable
Constructor and Description |
---|
ERMAttribute(java.lang.String name)
Constructor for the class with a parameter for the name of the attribute
|
Modifier and Type | Method and Description |
---|---|
ERMEntity |
getEntity()
Returns the Entity instance that contains this Attribute.
|
java.lang.String |
getName()
Returns the name of the attribute.
|
boolean |
isRequired()
Returns true if the attribute is marked as required by the presentation xml.
|
void |
setEntity(ERMEntity entity)
Sets a the entity that the attr
|
void |
setRequired(boolean required)
Sets whether or not this attribute is required.
|
public ERMAttribute(java.lang.String name)
name
- - The name of the attributepublic ERMEntity getEntity()
public void setEntity(ERMEntity entity)
entity
- The entity the attribute is within.public java.lang.String getName()
public boolean isRequired()
public void setRequired(boolean required)
required
- true if required, false if not