|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Group
This type represents the ability to group metadata together.
Attributes of Group are:
Associations of Group 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(); Group myObject = (Group) factory.createComplexMetadataObject(objectStore, "Group_Object", MetadataObjects.GROUP, "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_GROUPSUBSCRIPTIONS_NAME
Constant used for the name of the GroupSubscriptions association. |
static java.lang.String |
ASSOCIATION_MEMBERS_NAME
Constant used for the name of the Members association. |
static java.lang.String |
ASSOCIATION_SOFTWARECOMPONENTS_NAME
Constant used for the name of the SoftwareComponents association. |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
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 | |
---|---|
AssociationList |
getGroupSubscriptions()
Gets the Association list of GroupSubscriptions |
AssociationList |
getGroupSubscriptions(boolean fGoToServer)
Gets the Associationlist of GroupSubscriptions |
AssociationList |
getMembers()
Gets the AssociationList of Members |
AssociationList |
getMembers(boolean fGoToServer)
Gets the Associationlist of Members |
AssociationList |
getSoftwareComponents()
Gets the Association list of SoftwareComponents |
AssociationList |
getSoftwareComponents(boolean fGoToServer)
Gets the Associationlist of SoftwareComponents |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Members |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setGroupSubscriptions(AssociationList list)
Sets the GroupSubscriptions list to be list . |
void |
setGroupSubscriptions(AssociationList inObjects,
int state)
Sets the entire GroupSubscriptions list to match the passed in AssociationList, sets the state of the GroupSubscriptions |
void |
setMembers(AssociationList list)
Sets the Members list to be list . |
void |
setMembers(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setSoftwareComponents(AssociationList list)
Sets the SoftwareComponents list to be list . |
void |
setSoftwareComponents(AssociationList inObjects,
int state)
Sets the entire SoftwareComponents list to match the passed in AssociationList, sets the state of the SoftwareComponents |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
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 ASSOCIATION_MEMBERS_NAME
Members: The members of this group.
static final java.lang.String ASSOCIATION_GROUPSUBSCRIPTIONS_NAME
GroupSubscriptions: The channels that use this group.
static final java.lang.String ASSOCIATION_SOFTWARECOMPONENTS_NAME
SoftwareComponents: *Unknown*
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
Members
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getMembers() throws java.rmi.RemoteException, MdException
Members
Members
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 getGroupSubscriptions() throws java.rmi.RemoteException, MdException
GroupSubscriptions
GroupSubscriptions
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 getSoftwareComponents() throws java.rmi.RemoteException, MdException
SoftwareComponents
SoftwareComponents
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 getMembers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Members
fGoToServer
- boolean Get the value from the server.
Members
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 getGroupSubscriptions(boolean fGoToServer) throws java.rmi.RemoteException, MdException
GroupSubscriptions
fGoToServer
- boolean Get the value from the server.
GroupSubscriptions
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 getSoftwareComponents(boolean fGoToServer) throws java.rmi.RemoteException, MdException
SoftwareComponents
fGoToServer
- boolean Get the value from the server.
SoftwareComponents
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 setMembers(AssociationList list) throws java.rmi.RemoteException
Members
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setMembers(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupSubscriptions(AssociationList list) throws java.rmi.RemoteException
GroupSubscriptions
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setGroupSubscriptions(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSoftwareComponents(AssociationList list) throws java.rmi.RemoteException
SoftwareComponents
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setSoftwareComponents(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 |