public class IfsSetAttributesContext extends IfsCommandContext implements SetAttributesContext
Constructor and Description |
---|
IfsSetAttributesContext()
The Constructor.
|
IfsSetAttributesContext(LibraryObject[] objs,
String attrName,
AttributeValue attrValue)
Another constructor
|
Modifier and Type | Method and Description |
---|---|
void |
clear()
Clears the CommandState. does not throw.
|
String |
getAttributeName()
Gets the name of the attribute whose value will
be modified.
|
AttributeValue |
getAttributeValue()
Gets the new attribute value.
|
LibraryObject[] |
getLibraryObjects()
Gets the LibraryObjects whose attribute would be modified.
|
void |
setAttributeName(String name)
Sets the name of the attribute.
|
void |
setAttributeValue(AttributeValue value)
Sets the attirbute value.
|
void |
setLibraryObjects(LibraryObject[] objs)
Sets the LibraryObjects whose attribute would be
modified.
|
public IfsSetAttributesContext() throws IfsException
IfsException
public IfsSetAttributesContext(LibraryObject[] objs, String attrName, AttributeValue attrValue) throws IfsException
IfsException
public void clear()
clear
in interface CommandContext
clear
in class IfsCommandContext
public LibraryObject[] getLibraryObjects() throws IfsException
getLibraryObjects
in interface SetAttributesContext
IfsException
- if the operation failspublic void setLibraryObjects(LibraryObject[] objs) throws IfsException
setLibraryObjects
in interface SetAttributesContext
objs
- array of LibraryObjectsIfsException
- if the operation failspublic String getAttributeName() throws IfsException
getAttributeName
in interface SetAttributesContext
IfsException
- if the operation failspublic void setAttributeName(String name) throws IfsException
setAttributeName
in interface SetAttributesContext
name
- attribute nameIfsException
- if the operation failspublic AttributeValue getAttributeValue() throws IfsException
getAttributeValue
in interface SetAttributesContext
IfsException
- if the operation failspublic void setAttributeValue(AttributeValue value) throws IfsException
setAttributeValue
in interface SetAttributesContext
value
- AttributeValue objectIfsException
- if the operation failsCopyright © 2023. All rights reserved.