org.filteredpush.annotationprocessor.data
Class CompositeObject
java.lang.Object
org.filteredpush.annotationprocessor.data.CompositeObject
- All Implemented Interfaces:
- java.io.Serializable
- Direct Known Subclasses:
- DeleteIdentification, InsertIdentification, InsertLocation, InsertOccurrence, Response, ShowInconsistency, SystematicError, UpdateIdentification, UpdateLocation, UpdateOccurrence
public abstract class CompositeObject
- extends java.lang.Object
- implements java.io.Serializable
The base class for the annotation concept
composed by simple concepts.
- Author:
- Lei Dou
$Id: CompositeObject.java 1752 2012-12-11 15:57:30Z ramorrismorris $
- See Also:
- Serialized Form
|
Constructor Summary |
CompositeObject(java.util.List<java.lang.String> fieldList)
|
|
Method Summary |
BasicObject |
get(java.lang.String fieldName)
|
abstract java.lang.String |
getDesc()
|
java.util.List<java.lang.String> |
getFields()
|
java.util.List<BasicObject> |
getList(java.lang.String fieldName)
|
java.lang.String |
getType()
|
java.lang.String |
getURI()
|
java.util.Map<java.lang.String,java.lang.String> |
getValue()
returns the value of this proposed change in key-value paris
It's assumed that the key in each BasicObject won't conflict with the key in the other BasicObject of the same proposed change |
void |
insert(java.lang.String fieldName,
BasicObject data)
|
void |
insertList(java.lang.String fieldName,
java.util.List<BasicObject> data)
|
java.lang.String |
toString()
|
| Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait |
CompositeObject
public CompositeObject(java.util.List<java.lang.String> fieldList)
insert
public void insert(java.lang.String fieldName,
BasicObject data)
insertList
public void insertList(java.lang.String fieldName,
java.util.List<BasicObject> data)
get
public BasicObject get(java.lang.String fieldName)
getList
public java.util.List<BasicObject> getList(java.lang.String fieldName)
getType
public java.lang.String getType()
getURI
public java.lang.String getURI()
getFields
public java.util.List<java.lang.String> getFields()
getValue
public java.util.Map<java.lang.String,java.lang.String> getValue()
- returns the value of this proposed change in key-value paris
It's assumed that the key in each BasicObject won't conflict with the key in the other BasicObject of the same proposed change
getDesc
public abstract java.lang.String getDesc()
toString
public java.lang.String toString()
- Overrides:
toString in class java.lang.Object