|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertySet
A PropertySet contains a complete set of properties to be used by the OwningObject in a particular context. The properties that are part of this set are associated using the SetProperties association. Additional information regarding the charateristics or context of the PropertySet is modeled using the Properties association. Note that Properties extend the PropertySet and SetProperties are the set of Properties that extend the OwningObject.
Attributes of PropertySet are:
Associations of PropertySet are:
factory
create methods. // create a store to contain your objects for this change. If you do not have an existing object // or store to use. You may obtain the store from another object by using Object.getObjectStore(). MdFactory factory; //where "factory" is a valid MdFactory instance MdObjectStore objectStore = factory.createObjectStore(); PropertySet myObject = (PropertySet) factory.createComplexMetadataObject(objectStore, "PropertySet_Object", MetadataObjects.PROPERTYSET, "AAAAAAAA"); myObject.updateMetadataAll(); // Write object to server objectStore.dispose(); // dispose of the object store if it is no longer needed
MdOMIUtil
.
updateMetadataAll
method.
delete
method can be used.
This will flag the object as being deleted on the client, and will require an update call to persist
the change to the server.
Field Summary | |
---|---|
static java.lang.String |
ASSOCIATION_OWNINGOBJECT_NAME
Constant used for the name of the OwningObject association. |
static java.lang.String |
ASSOCIATION_SETPROPERTIES_NAME
Constant used for the name of the SetProperties association. |
static java.lang.String |
ATTRIBUTE_PROPERTYSETNAME_NAME
Constant used for the name of the PropertySetName attribute. |
static java.lang.String |
ATTRIBUTE_SETROLE_NAME
Constant used for the name of the SetRole attribute. |
Fields inherited from interface com.sas.metadata.remote.MdObjectBase |
---|
ATTRIBUTE_DESC_NAME, ATTRIBUTE_ID_NAME, ATTRIBUTE_METADATACREATED_NAME, ATTRIBUTE_METADATAUPDATED_NAME, ATTRIBUTE_NAME_NAME |
Method Summary | |
---|---|
Root |
getOwningObject()
Gets the Root for OwningObject |
AssociationList |
getOwningObjects()
Gets the AssociationList of OwningObjects |
AssociationList |
getOwningObjects(boolean fGoToServer)
Gets the Associationlist of OwningObjects |
java.lang.String |
getPropertySetName()
Gets the String value of PropertySetName |
int |
getPropertySetNameMaxLength()
Gets the maximum length of PropertySetName |
int |
getPropertySetNameState()
Gets the Metadata State of PropertySetName |
AssociationList |
getSetProperties()
Gets the AssociationList of SetProperties |
AssociationList |
getSetProperties(boolean fGoToServer)
Gets the Associationlist of SetProperties |
java.lang.String |
getSetRole()
Gets the String value of SetRole |
int |
getSetRoleMaxLength()
Gets the maximum length of SetRole |
int |
getSetRoleState()
Gets the Metadata State of SetRole |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningObject SetProperties |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningObject |
void |
setOwningObject(Root inObject)
Sets the OwningObjects list 0th element to be inObject . |
void |
setOwningObjects(AssociationList list)
Sets the OwningObjects list to be list . |
void |
setOwningObjects(AssociationList list,
int state)
Sets the OwningObjects list to be list . |
void |
setPropertySetName(java.lang.String inPropertySetName)
Sets the PropertySetName value and sets the state to MetadataState.LOCAL. |
void |
setPropertySetName(java.lang.String inPropertySetName,
int state)
Sets the PropertySetName Metadata State. |
void |
setPropertySetNameState(int state)
Sets the Metadata State of PropertySetName . |
void |
setSetProperties(AssociationList list)
Sets the SetProperties list to be list . |
void |
setSetProperties(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setSetRole(java.lang.String inSetRole)
Sets the SetRole value and sets the state to MetadataState.LOCAL. |
void |
setSetRole(java.lang.String inSetRole,
int state)
Sets the SetRole Metadata State. |
void |
setSetRoleState(int state)
Sets the Metadata State of SetRole . |
Methods inherited from interface com.sas.metadata.remote.MdObjectBaseXML |
---|
closeUpdateMetadataXML, createEmptyXML, createObjectRefreshXML, createObjectXML, createObjectXML, createUpdateAssociationXML, createUpdateAssociationXML, createUpdateSimpleXML, doCreateUpdateXML, getUpdateSimpleSubstring, updateMetadataAll |
Field Detail |
---|
static final java.lang.String ATTRIBUTE_SETROLE_NAME
SetRole: The role identifies the usage of this property set. For example, there may be multiple PropertySet objects for dataset options, for Read, Update, Create. The Role attribute helps identify the usage of the PropertySet.
static final java.lang.String ATTRIBUTE_PROPERTYSETNAME_NAME
PropertySetName: The name of the property set as used by an application. This name is not localized.
static final java.lang.String ASSOCIATION_OWNINGOBJECT_NAME
OwningObject: The object that owns the Property objects in the PropertySet.
static final java.lang.String ASSOCIATION_SETPROPERTIES_NAME
SetProperties: The property objects contained in this set.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
OwningObject
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface Root
initializeRequiredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
OwningObject
SetProperties
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getSetRole() throws java.rmi.RemoteException
String
value of SetRole
SetRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSetRoleState() throws java.rmi.RemoteException
SetRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSetRoleMaxLength() throws java.rmi.RemoteException
SetRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getPropertySetName() throws java.rmi.RemoteException
String
value of PropertySetName
PropertySetName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPropertySetNameState() throws java.rmi.RemoteException
PropertySetName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getPropertySetNameMaxLength() throws java.rmi.RemoteException
PropertySetName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getOwningObjects() throws java.rmi.RemoteException, MdException
OwningObjects
OwningObjects
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Root getOwningObject() throws java.rmi.RemoteException, MdException
Root
for OwningObject
Root
( null
if not set) of OwningObject
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getSetProperties() throws java.rmi.RemoteException, MdException
SetProperties
SetProperties
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getOwningObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningObjects
fGoToServer
- boolean Get the value from the server.
OwningObjects
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.AssociationList getSetProperties(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SetProperties
fGoToServer
- boolean Get the value from the server.
SetProperties
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
- If error getting/setting part of the object.void setSetRole(java.lang.String inSetRole) throws java.rmi.RemoteException
SetRole
value and sets the state to MetadataState.LOCAL.
inSetRole
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSetRole(java.lang.String inSetRole, int state) throws java.rmi.RemoteException
SetRole
Metadata State.
inSetRole
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSetRoleState(int state) throws java.rmi.RemoteException
SetRole
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPropertySetName(java.lang.String inPropertySetName) throws java.rmi.RemoteException
PropertySetName
value and sets the state to MetadataState.LOCAL.
inPropertySetName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setPropertySetName(java.lang.String inPropertySetName, int state) throws java.rmi.RemoteException
PropertySetName
Metadata State.
inPropertySetName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPropertySetNameState(int state) throws java.rmi.RemoteException
PropertySetName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningObjects(AssociationList list) throws java.rmi.RemoteException
OwningObjects
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningObjects(AssociationList list, int state) throws java.rmi.RemoteException
OwningObjects
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningObject(Root inObject) throws java.rmi.RemoteException
OwningObjects
list 0th element to be inObject
.
inObject
- Root
java.rmi.RemoteException
- If error communicating with remote object.void setSetProperties(AssociationList list) throws java.rmi.RemoteException
SetProperties
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSetProperties(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.
|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |