public class ActivationCommand extends Object implements XmlEntity, ModelInstanceAware
| Modifier and Type | Class and Description |
|---|---|
static class |
ActivationCommand.ActivationCommandType
Activation type.
|
| Modifier | Constructor and Description |
|---|---|
protected |
ActivationCommand()
Creates new instance.
|
|
ActivationCommand(ModelInstance modelInstance,
String name,
ActivationCommand.ActivationCommandType type)
Creates new instance.
|
| Modifier and Type | Method and Description |
|---|---|
ModelInstance |
getModelInstance()
Returns the model instance.
|
String |
getName()
Returns the name.
|
ActivationCommand.ActivationCommandType |
getType()
Returns the type.
|
ActivationCommand |
makeCopy(ModelInstance targetModelInstance)
Returns deep copy.
|
void |
postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
Callback method invoked after unmarshalling XML data into target.
|
void |
preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller,
Object parent)
Callback method invoked before unmarshalling into target.
|
void |
rebind(ModelInstance modelInstance)
Re-bind to the provided model instance.
|
String |
toString() |
protected ActivationCommand()
public ActivationCommand(ModelInstance modelInstance, String name, ActivationCommand.ActivationCommandType type)
modelInstance - name - type - NullPointerException - if modelInstance or name or type is
nullpublic String getName()
public ActivationCommand.ActivationCommandType getType()
public ModelInstance getModelInstance()
ModelInstanceAwaregetModelInstance in interface ModelInstanceAwarepublic void rebind(ModelInstance modelInstance)
ModelInstanceAwarerebind in interface ModelInstanceAwarepublic void preUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
UnmarshalCallbackpreUnmarshal in interface UnmarshalCallbackparent - instance of JAXB mapped class that will eventually reference target.
null when target is root element.public void postUnmarshal(javax.xml.bind.Unmarshaller unmarshaller, Object parent)
UnmarshalCallbackpostUnmarshal in interface UnmarshalCallbackparent - instance of JAXB mapped class that will reference target.
null when target is root element.public ActivationCommand makeCopy(ModelInstance targetModelInstance)
targetModelInstance - Copyright © 2007-2018 Whitestein Technologies. All Rights Reserved.