public class GenericCreator extends EntityFactory
| Constructor and Description |
|---|
GenericCreator() |
| Modifier and Type | Method and Description |
|---|---|
java.lang.Object |
call(java.lang.Object entity,
java.lang.String method,
java.lang.Object... args) |
java.lang.String |
getClassName() |
java.lang.String[] |
getProperties()
Gets the properties.
|
java.lang.Object |
getSendableInstance(boolean usePrototype)
Gets the sendable instance.
|
java.lang.Object |
getValue(java.lang.Object entity,
java.lang.String attribute)
Gets the value.
|
void |
removeObject(java.lang.Object entity)
Calls entity.removeYou().
|
void |
setClassName(java.lang.String className) |
boolean |
setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
Sets the value.
|
GenericCreator |
withClassName(java.lang.String className) |
createpublic java.lang.String getClassName()
public void setClassName(java.lang.String className)
public GenericCreator withClassName(java.lang.String className)
public void removeObject(java.lang.Object entity)
EntityFactoryremoveObject in class EntityFactoryentity - the entity to be deletedpublic java.lang.Object call(java.lang.Object entity,
java.lang.String method,
java.lang.Object... args)
call in class EntityFactorypublic java.lang.String[] getProperties()
de.uniks.networkparser.interfaces.SendableEntityCreatorgetProperties in interface de.uniks.networkparser.interfaces.SendableEntityCreatorgetProperties in class EntityFactorypublic java.lang.Object getSendableInstance(boolean usePrototype)
de.uniks.networkparser.interfaces.SendableEntityCreatorgetSendableInstance in interface de.uniks.networkparser.interfaces.SendableEntityCreatorgetSendableInstance in class EntityFactoryusePrototype - the prototyppublic java.lang.Object getValue(java.lang.Object entity,
java.lang.String attribute)
de.uniks.networkparser.interfaces.SendableEntityCreatorgetValue in interface de.uniks.networkparser.interfaces.SendableEntityCreatorgetValue in class EntityFactoryentity - the entityattribute - the attributepublic boolean setValue(java.lang.Object entity,
java.lang.String attribute,
java.lang.Object value,
java.lang.String type)
de.uniks.networkparser.interfaces.SendableEntityCreatorsetValue in interface de.uniks.networkparser.interfaces.SendableEntityCreatorsetValue in class EntityFactoryentity - the entityattribute - the attributevalue - the valuetype - edit, update or remove operation