|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PromptGroup
For use by the SAS Prompt Interface. A prompt group will be either associated to a single metadata object or, if acting as a shared prompt group, a member of the SAS tree.
Attributes of PromptGroup are:
Associations of PromptGroup 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(); PromptGroup myObject = (PromptGroup) factory.createComplexMetadataObject(objectStore, "PromptGroup_Object", MetadataObjects.PROMPTGROUP, "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 |
ATTRIBUTE_GROUPINFO_NAME
Constant used for the name of the GroupInfo attribute. |
static java.lang.String |
ATTRIBUTE_GROUPTYPE_NAME
Constant used for the name of the GroupType attribute. |
Fields inherited from interface com.sas.metadata.remote.AbstractPrompt |
---|
ASSOCIATION_PROMPTENABLEDOBJECT_NAME, ASSOCIATION_PROMPTREFERENCES_NAME, ASSOCIATION_REFERENCEDPROMPTS_NAME, ASSOCIATION_VALUESOURCE_NAME |
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 | |
---|---|
java.lang.String |
getGroupInfo()
Gets the String value of GroupInfo |
int |
getGroupInfoMaxLength()
Gets the maximum length of GroupInfo |
int |
getGroupInfoState()
Gets the Metadata State of GroupInfo |
int |
getGroupType()
Gets the int value of GroupType |
int |
getGroupTypeState()
Gets the Metadata State of GroupType |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setGroupInfo(java.lang.String inGroupInfo)
Sets the GroupInfo value and sets the state to MetadataState.LOCAL. |
void |
setGroupInfo(java.lang.String inGroupInfo,
int state)
Sets the GroupInfo Metadata State. |
void |
setGroupInfoState(int state)
Sets the Metadata State of GroupInfo . |
void |
setGroupType(int inGroupType)
Sets the GroupType value and sets the state to MetadataState.LOCAL. |
void |
setGroupType(int inGroupType,
int state)
Sets the GroupType Metadata State. |
void |
setGroupType(java.lang.String inGroupType)
Sets the GroupType value and sets the state to MetadataState.LOCAL. |
void |
setGroupType(java.lang.String inGroupType,
int state)
Sets the GroupType value and Metadata State. |
void |
setGroupTypeState(int state)
Sets the Metadata State of GroupType . |
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 ATTRIBUTE_GROUPTYPE_NAME
GroupType: Provides the group type to be used by the UI.
static final java.lang.String ATTRIBUTE_GROUPINFO_NAME
GroupInfo: Private information about the prompt group, to be used only by the prompt interface.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface AbstractPrompt
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
initializePredObjects
in interface AbstractPrompt
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getGroupType() throws java.rmi.RemoteException
int
value of GroupType
GroupType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getGroupTypeState() throws java.rmi.RemoteException
GroupType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getGroupInfo() throws java.rmi.RemoteException
String
value of GroupInfo
GroupInfo
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getGroupInfoState() throws java.rmi.RemoteException
GroupInfo
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getGroupInfoMaxLength() throws java.rmi.RemoteException
GroupInfo
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setGroupType(int inGroupType) throws java.rmi.RemoteException
GroupType
value and sets the state to MetadataState.LOCAL.
inGroupType
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupType(int inGroupType, int state) throws java.rmi.RemoteException
GroupType
Metadata State.
inGroupType
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupType(java.lang.String inGroupType) throws java.rmi.RemoteException
GroupType
value and sets the state to MetadataState.LOCAL.
inGroupType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setGroupType(java.lang.String inGroupType, int state) throws java.rmi.RemoteException
GroupType
value and Metadata State.
inGroupType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupTypeState(int state) throws java.rmi.RemoteException
GroupType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupInfo(java.lang.String inGroupInfo) throws java.rmi.RemoteException
GroupInfo
value and sets the state to MetadataState.LOCAL.
inGroupInfo
- String
java.rmi.RemoteException
- If error communicating with remote object.void setGroupInfo(java.lang.String inGroupInfo, int state) throws java.rmi.RemoteException
GroupInfo
Metadata State.
inGroupInfo
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setGroupInfoState(int state) throws java.rmi.RemoteException
GroupInfo
.
state
- 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 |