Class ProfileAction.SetAttribute
- java.lang.Object
-
- com.opencloud.slee.upgrade.transformation.model.ProfileAction
-
- com.opencloud.slee.upgrade.transformation.model.ProfileAction.SetAttribute
-
- All Implemented Interfaces:
ProfileRuleChild
- Enclosing class:
- ProfileAction
public static final class ProfileAction.SetAttribute extends ProfileAction
Used for setting an attribute value within 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 SetAttribute(java.lang.String name, ObjectGenerator newValue)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
action(TransformableProfileTable profileTable, ProfileTransformationRule transformationRule, ProblemCollector problemCollector)
boolean
equals(java.lang.Object o)
ProfileAction.ContextRequirement
getAttributeValueContextRequirement()
ProfileAction.ContextRequirement
getProfileContextRequirement()
int
hashCode()
java.lang.String
toString()
-
Methods inherited from class com.opencloud.slee.upgrade.transformation.model.ProfileAction
applyAction, getProfileTableContextRequirement
-
-
-
-
Constructor Detail
-
SetAttribute
public SetAttribute(@Nonnull java.lang.String name, @Nonnull ObjectGenerator newValue)
- Parameters:
name
- The name of the attribute.newValue
- Used to generate the value to set for the attribute.
-
-
Method Detail
-
getProfileContextRequirement
public ProfileAction.ContextRequirement getProfileContextRequirement()
- Overrides:
getProfileContextRequirement
in classProfileAction
-
getAttributeValueContextRequirement
public ProfileAction.ContextRequirement getAttributeValueContextRequirement()
- Overrides:
getAttributeValueContextRequirement
in classProfileAction
-
action
public boolean action(@Nonnull TransformableProfileTable profileTable, @Nonnull ProfileTransformationRule transformationRule, @Nonnull ProblemCollector problemCollector) throws TransformationException
- Throws:
TransformationException
-
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()
-
-