|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Object | +--oracle.ifs.server.S_LibraryObjectDefinition
The S_LibraryObjectDefinition class is used by the server to create new objects. It is generally constructed from a bean-side LibraryObjectDefinition class (or one of its subclasses), but can also be constructed server-side when the server wants to create an object.
| Constructor Summary | |
protected |
S_LibraryObjectDefinition()
default constructor. |
|
S_LibraryObjectDefinition(java.lang.Long classid)
construct a S_LibraryObjectDefinition, initializing with a classId. |
| Method Summary | |
AttributeValue |
getAttribute(java.lang.String name)
return an AttributeValue object that holds the value of the requested attribute. |
AttributeValue[] |
getAttributes()
return array of Attribute values that were set for this new instance. |
java.lang.Long |
getClassId()
return the Class Id, null if not specified |
java.lang.Long |
getId()
return the Id, null if not yet specified |
java.lang.Object |
getOption(java.lang.String name)
return an option value |
AttributeValue |
getSystemSetAttribute(java.lang.String name)
return a System set AttributeValue object that holds the value of the requested attribute. |
AttributeValue[] |
getSystemSetAttributes()
Gets the system-set attributes. |
AttributeValue |
getUserSetAttribute(java.lang.String name)
return a User-set AttributeValue object that holds the value of the requested attribute. |
AttributeValue[] |
getUserSetAttributes()
return array of Attribute values that were set by the user for this new instance. |
void |
mergeDefinition(S_LibraryObjectDefinition def)
combines values from def into this definition. |
void |
removeAttribute(java.lang.String name)
removes an attribute setting for the new instance. |
void |
removeOption(java.lang.String name)
removes an option setting for the new instance. |
void |
removeSystemSetAttribute(java.lang.String name)
removes a SystemSet attribute setting for the new instance. |
void |
removeUserSetAttribute(java.lang.String name)
removes a user-set attribute setting for the new instance. |
void |
setClassId(java.lang.Long classid)
set the Class Id |
void |
setId(java.lang.Long id)
set the object Id |
void |
setOption(java.lang.String name,
java.lang.Object value)
set an option for the new instance. |
void |
setSystemSetAttribute(AttributeValue value)
set a SystemSet attribute for the new instance. |
void |
setSystemSetAttribute(java.lang.String name,
AttributeValue value)
set a system-set attribute for the new instance (or for update). |
void |
setUserSetAttribute(AttributeValue value)
set an attribute for the new instance. |
void |
setUserSetAttribute(java.lang.String name,
AttributeValue value)
set an attribute for the new instance. |
| Constructor Detail |
protected S_LibraryObjectDefinition()
throws IfsException
IfsException - if operation fails.
public S_LibraryObjectDefinition(java.lang.Long classid)
throws IfsException
classid - The class IDIfsException - if operation fails.| Method Detail |
public java.lang.Long getClassId()
throws IfsException
IfsException - if the operation fails
public java.lang.Long getId()
throws IfsException
IfsException - if the operation fails
public void setClassId(java.lang.Long classid)
throws IfsException
the - Class IdIfsException - if the operation fails
public void setId(java.lang.Long id)
throws IfsException
the - IdIfsException - if the operation fails
public void setUserSetAttribute(java.lang.String name,
AttributeValue value)
throws IfsException
name - The attribute namevalue - The attribute value.IfsException - if operation fails.
public void setUserSetAttribute(AttributeValue value)
throws IfsException
value - The attribute value.IfsException - if operation fails.
public void setSystemSetAttribute(java.lang.String name,
AttributeValue value)
throws IfsException
name - The attribute namevalue - The attribute value.IfsException - if operation fails.
public void setSystemSetAttribute(AttributeValue value)
throws IfsException
value - The attribute value with the name already set.IfsException - if operation fails.
public AttributeValue getAttribute(java.lang.String name)
throws IfsException
name - the name of the AttributeIfsException - if the operation fails
public AttributeValue getUserSetAttribute(java.lang.String name)
throws IfsException
name - the name of the user-set AttributeIfsException - if the operation fails
public AttributeValue getSystemSetAttribute(java.lang.String name)
throws IfsException
name - the name of the System set AttributeIfsException - if the operation fails
public void setOption(java.lang.String name,
java.lang.Object value)
throws IfsException
name - The option namevalue - The option value. The value must be serializable.IfsException - if operation fails.
public java.lang.Object getOption(java.lang.String name)
throws IfsException
name - the name of the optionIfsException - if the operation fails
public void removeAttribute(java.lang.String name)
throws IfsException
name - The name of the Attribute to be removed.
public void removeUserSetAttribute(java.lang.String name)
throws IfsException
name - The name of the user-set Attribute to be removed.
public void removeSystemSetAttribute(java.lang.String name)
throws IfsException
name - The name of the SystemSetAttribute to be removed.
public AttributeValue[] getUserSetAttributes()
throws IfsException
public AttributeValue[] getSystemSetAttributes()
throws IfsException
IfsException - if the operation fails
public AttributeValue[] getAttributes()
throws IfsException
public void removeOption(java.lang.String name)
throws IfsException
name - The name of the option to be removed.
public void mergeDefinition(S_LibraryObjectDefinition def)
throws IfsException
def - The definition to be merged in.
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||