|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectpl.edu.agh.cast.data.model.property.MetaProperty
pl.edu.agh.cast.data.model.property.MetaTransientProperty
public class MetaTransientProperty
Meta property describing transient properties. Transient properties cannot be modified and are not persisted. They may be calculated based on other properties.
| Constructor Summary | |
|---|---|
MetaTransientProperty(String name,
PropertyType type,
boolean matchable,
Method getter)
Creates new permanent meta property (non-writable by default). |
|
MetaTransientProperty(String name,
String displayName,
PropertyType type,
boolean matchable,
Method getter)
Creates new permanent meta property (non-writable by default). |
|
| Method Summary | |
|---|---|
boolean |
equals(Object obj)
Returns true if given object is of type MetaProperty and has equal name,
type, writable and matchable flags. |
Method |
getGetter()
Returns getter method for retrieving property value from data element. |
int |
hashCode()
|
void |
setWritable(boolean writable)
Sets the writable flag. |
String |
toString()
|
| Methods inherited from class pl.edu.agh.cast.data.model.property.MetaProperty |
|---|
getDisplayName, getName, getType, isMatchable, isWritable, setDisplayName |
| Methods inherited from class java.lang.Object |
|---|
clone, finalize, getClass, notify, notifyAll, wait, wait, wait |
| Constructor Detail |
|---|
public MetaTransientProperty(String name,
PropertyType type,
boolean matchable,
Method getter)
name - the name of the propertytype - the type of property valuematchable - the matchable flaggetter - value getter method
public MetaTransientProperty(String name,
String displayName,
PropertyType type,
boolean matchable,
Method getter)
name - the name of the propertydisplayName - the display name of the propertytype - the type of property valuematchable - the matchable flaggetter - value getter method| Method Detail |
|---|
public Method getGetter()
public void setWritable(boolean writable)
setWritable in class MetaPropertywritable - the writable flag to setMetaProperty.setWritable(boolean)public boolean equals(Object obj)
true if given object is of type MetaProperty and has equal name,
type, writable and matchable flags.
equals in class MetaPropertyMetaProperty.equals(java.lang.Object)public int hashCode()
hashCode in class MetaPropertyMetaProperty.hashCode()public String toString()
toString in class MetaPropertyObject.toString()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||