Class AbstractPropertyMetaData
- java.lang.Object
-
- net.officefloor.model.generate.model.AbstractPropertyMetaData
-
- Direct Known Subclasses:
FieldMetaData
,ListMetaData
public abstract class AbstractPropertyMetaData extends java.lang.Object
Abstract property meta-data.- Author:
- Daniel Sagenschneider
-
-
Constructor Summary
Constructors Constructor Description AbstractPropertyMetaData()
Default constructor.AbstractPropertyMetaData(java.lang.String name, java.lang.String type, java.lang.String description)
Convenience constructor.
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getCamelCaseName()
Obtains the camel case name.java.lang.String
getCapitalisedName()
Obtains the capitalised name.java.lang.String
getCascadeRemove()
java.lang.String
getDescription()
java.lang.String
getName()
java.lang.String
getPropertyName()
Obtains the property name.java.lang.String
getType()
boolean
isCascadeRemove()
void
setCascadeRemove(java.lang.String cascadeRemove)
void
setDescription(java.lang.String description)
void
setName(java.lang.String name)
void
setType(java.lang.String type)
-
-
-
Constructor Detail
-
AbstractPropertyMetaData
public AbstractPropertyMetaData()
Default constructor.
-
AbstractPropertyMetaData
public AbstractPropertyMetaData(java.lang.String name, java.lang.String type, java.lang.String description)
Convenience constructor.- Parameters:
name
- Name.type
- Type.description
- Description.
-
-
Method Detail
-
getCapitalisedName
public java.lang.String getCapitalisedName()
Obtains the capitalised name.- Returns:
- Prpoerty name capitalised.
-
getCamelCaseName
public java.lang.String getCamelCaseName()
Obtains the camel case name.- Returns:
- Property name in camel case.
-
getPropertyName
public java.lang.String getPropertyName()
Obtains the property name.- Returns:
- Property name.
-
getName
public java.lang.String getName()
-
setName
public void setName(java.lang.String name)
-
getType
public java.lang.String getType()
-
setType
public void setType(java.lang.String type)
-
getCascadeRemove
public java.lang.String getCascadeRemove()
-
setCascadeRemove
public void setCascadeRemove(java.lang.String cascadeRemove)
-
isCascadeRemove
public boolean isCascadeRemove()
-
getDescription
public java.lang.String getDescription()
-
setDescription
public void setDescription(java.lang.String description)
-
-