Package org.cyclos.impl
Class PropertyLogDescriptor<B extends Bean>
- java.lang.Object
-
- org.cyclos.impl.PropertyLogDescriptor<B>
-
- Type Parameters:
B- the container Bean type
- Direct Known Subclasses:
TablePropertyLogDescriptor
public class PropertyLogDescriptor<B extends Bean> extends Object
Describes how a property is logged as anEntityPropertyLog
-
-
Field Summary
Fields Modifier and Type Field Description protected PropertyAccessaccessprotected Objectlabelprotected EntityLogDescriptor<B>logDescriptor
-
Constructor Summary
Constructors Constructor Description PropertyLogDescriptor(EntityLogDescriptor<B> logDescriptor, PropertyAccess access)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description EntityLogDescriptor<B>add()Add this property to the entity log and returns it descriptor to allow add a new property.PropertyAccessgetAccess()ObjectgetLabel()booleanisTable()PropertyLogDescriptor<B>label(Object label)StringtoString()
-
-
-
Field Detail
-
access
protected PropertyAccess access
-
label
protected Object label
-
logDescriptor
protected EntityLogDescriptor<B extends Bean> logDescriptor
-
-
Constructor Detail
-
PropertyLogDescriptor
public PropertyLogDescriptor(EntityLogDescriptor<B> logDescriptor, PropertyAccess access)
-
-
Method Detail
-
add
public EntityLogDescriptor<B> add()
Add this property to the entity log and returns it descriptor to allow add a new property.
-
getAccess
public PropertyAccess getAccess()
-
getLabel
public Object getLabel()
-
isTable
public boolean isTable()
-
label
public PropertyLogDescriptor<B> label(Object label)
-
-