Class ProfileAction.AddAttribute
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.model.ProfileAction
-
- com.opencloud.slee.upgrade.transformation.model.ProfileAction.AddAttribute
-
- All Implemented Interfaces:
ProfileRuleChild
- Enclosing class:
- ProfileAction
public static final class ProfileAction.AddAttribute extends ProfileAction
Used for adding a new attribute to profiles.
-
-
Nested Class Summary
-
Nested classes/interfaces inherited from class com.opencloud.slee.upgrade.transformation.model.ProfileAction
ProfileAction.AddAttribute, ProfileAction.ChangeAttributeType, ProfileAction.ContextRequirement, ProfileAction.CreateProfile, ProfileAction.DeleteAttribute, ProfileAction.DeleteProfile, ProfileAction.DeleteProfileTable, ProfileAction.RenameAttribute, ProfileAction.RenameProfile, ProfileAction.RenameProfileSpec, ProfileAction.RenameProfileTable, ProfileAction.SetAttribute
-
-
Constructor Summary
Constructors Constructor Description AddAttribute(java.lang.String name, java.lang.String type, boolean isSerialised, java.lang.String serialisationVersion, ObjectGenerator defaultValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object o)
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class com.opencloud.slee.upgrade.transformation.model.ProfileAction
applyAction, getAttributeValueContextRequirement, getProfileContextRequirement, getProfileTableContextRequirement
-
-
-
-
Constructor Detail
-
AddAttribute
public AddAttribute(@Nonnull java.lang.String name, @Nonnull java.lang.String type, boolean isSerialised, @Nullable java.lang.String serialisationVersion, @Nonnull ObjectGenerator defaultValue)
- Parameters:
name
- The name of the attribute.type
- The Java type of the attribute, as a fully qualified class name.isSerialised
- Whether the attribute is stored in serialised form in the profile export XML.serialisationVersion
- The serialisation-version to use in the profile export XML.defaultValue
- Used to generate a value to use when a value is not specified elsewhere.
-
-
Method Detail
-
equals
public boolean equals(java.lang.Object o)
- Specified by:
equals
in classProfileAction
-
hashCode
public int hashCode()
- Specified by:
hashCode
in classProfileAction
-
toString
public java.lang.String toString()
-
-