public class PropertyDefinitionImpl extends Object implements PropertyDefinition
PROP_IDENTIFIER, PROP_RELATION, PROPERTY_FLAGS
Constructor and Description |
---|
PropertyDefinitionImpl() |
Modifier and Type | Method and Description |
---|---|
String |
getId() |
Map |
getPropertyAttributes() |
Class |
getPropertyClass() |
String |
getPropertyClassName() |
boolean |
is(String flagName) |
boolean |
isIdentifier() |
boolean |
isRequired() |
void |
setAttribute(String name,
String val) |
void |
setAttribute(String name,
String lang,
String val) |
void |
setPropertyAttributes(Map propertyAttributes) |
void |
setPropertyClass(Class propertyType) |
void |
setRequired(boolean required) |
String |
toString()
Returns a string representation of the object.
|
public Map getPropertyAttributes()
getPropertyAttributes
in interface PropertyDefinition
public void setPropertyAttributes(Map propertyAttributes)
public Class getPropertyClass()
getPropertyClass
in interface PropertyDefinition
public String getPropertyClassName()
getPropertyClassName
in interface PropertyDefinition
public String getId()
getId
in interface PropertyDefinition
public void setPropertyClass(Class propertyType)
public boolean isIdentifier()
isIdentifier
in interface PropertyDefinition
public boolean is(String flagName)
is
in interface PropertyDefinition
public String toString()
public boolean isRequired()
isRequired
in interface PropertyDefinition
public void setRequired(boolean required)
Copyright © 2001-2014 JBoss by Red Hat. All Rights Reserved.