|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface AbstractPrompt
The parent class for types used by the SAS Prompt Interface.
Attributes of AbstractPrompt are:
Associations of AbstractPrompt 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(); AbstractPrompt myObject = (AbstractPrompt) factory.createComplexMetadataObject(objectStore, "AbstractPrompt_Object", MetadataObjects.ABSTRACTPROMPT, "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_PROMPTENABLEDOBJECT_NAME
Constant used for the name of the PromptEnabledObject association. |
static java.lang.String |
ASSOCIATION_PROMPTREFERENCES_NAME
Constant used for the name of the PromptReferences association. |
static java.lang.String |
ASSOCIATION_REFERENCEDPROMPTS_NAME
Constant used for the name of the ReferencedPrompts association. |
static java.lang.String |
ASSOCIATION_VALUESOURCE_NAME
Constant used for the name of the ValueSource 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 | |
---|---|
Root |
getPromptEnabledObject()
Gets the Root for PromptEnabledObject |
AssociationList |
getPromptEnabledObjects()
Gets the Association list of PromptEnabledObjects |
AssociationList |
getPromptEnabledObjects(boolean fGoToServer)
Gets the Associationlist of PromptEnabledObjects |
AssociationList |
getPromptReferences()
Gets the AssociationList of PromptReferences |
AssociationList |
getPromptReferences(boolean fGoToServer)
Gets the Associationlist of PromptReferences |
AssociationList |
getReferencedPrompts()
Gets the Association list of ReferencedPrompts |
AssociationList |
getReferencedPrompts(boolean fGoToServer)
Gets the Associationlist of ReferencedPrompts |
Transformation |
getValueSource()
Gets the Transformation for ValueSource |
AssociationList |
getValueSources()
Gets the AssociationList of ValueSources |
AssociationList |
getValueSources(boolean fGoToServer)
Gets the Associationlist of ValueSources |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: PromptReferences ValueSource |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setPromptEnabledObject(Root inObject)
Sets the PromptEnabledObjects list 0th element to be inObject . |
void |
setPromptEnabledObjects(AssociationList list)
Sets the PromptEnabledObjects list to be list . |
void |
setPromptEnabledObjects(AssociationList list,
int state)
Sets the PromptEnabledObjects list to be list . |
void |
setPromptReferences(AssociationList list)
Sets the PromptReferences list to be list . |
void |
setPromptReferences(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setReferencedPrompts(AssociationList list)
Sets the ReferencedPrompts list to be list . |
void |
setReferencedPrompts(AssociationList inObjects,
int state)
Sets the entire ReferencedPrompts list to match the passed in AssociationList, sets the state of the ReferencedPrompts |
void |
setValueSource(Transformation inObject)
Sets the ValueSources list 0th element to be inObject . |
void |
setValueSources(AssociationList list)
Sets the ValueSources list to be list . |
void |
setValueSources(AssociationList list,
int state)
Sets the ValueSources list to be list . |
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_PROMPTREFERENCES_NAME
PromptReferences: The shared prompt(s) that are referenced by this prompt or prompt group.
static final java.lang.String ASSOCIATION_VALUESOURCE_NAME
ValueSource: The source of the transformation will point to the table, cube, map, file, or textstore that contains the information for a list of values. The transformation may have source code that contain the query to use against the source in order to obtain the list of values.
static final java.lang.String ASSOCIATION_PROMPTENABLEDOBJECT_NAME
PromptEnabledObject: The object that uses this prompt or prompt group.
static final java.lang.String ASSOCIATION_REFERENCEDPROMPTS_NAME
ReferencedPrompts: The prompts and prompt groups that are referenced by this shared prompt.
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
PromptReferences
ValueSource
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getPromptReferences() throws java.rmi.RemoteException, MdException
PromptReferences
PromptReferences
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 getValueSources() throws java.rmi.RemoteException, MdException
ValueSources
ValueSources
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Transformation getValueSource() throws java.rmi.RemoteException, MdException
Transformation
for ValueSource
Transformation
( null
if not set) of ValueSource
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 getPromptEnabledObjects() throws java.rmi.RemoteException, MdException
PromptEnabledObjects
PromptEnabledObjects
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.Root getPromptEnabledObject() throws java.rmi.RemoteException, MdException
Root
for PromptEnabledObject
Root
( null
if not set ) of PromptEnabledObject
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 getReferencedPrompts() throws java.rmi.RemoteException, MdException
ReferencedPrompts
ReferencedPrompts
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 getPromptReferences(boolean fGoToServer) throws java.rmi.RemoteException, MdException
PromptReferences
fGoToServer
- boolean Get the value from the server.
PromptReferences
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 getValueSources(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ValueSources
fGoToServer
- boolean Get the value from the server.
ValueSources
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 getPromptEnabledObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
PromptEnabledObjects
fGoToServer
- boolean Get the value from the server.
PromptEnabledObjects
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 getReferencedPrompts(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ReferencedPrompts
fGoToServer
- boolean Get the value from the server.
ReferencedPrompts
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 setPromptReferences(AssociationList list) throws java.rmi.RemoteException
PromptReferences
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setPromptReferences(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setValueSources(AssociationList list) throws java.rmi.RemoteException
ValueSources
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setValueSources(AssociationList list, int state) throws java.rmi.RemoteException
ValueSources
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setValueSource(Transformation inObject) throws java.rmi.RemoteException
ValueSources
list 0th element to be inObject
.
inObject
- Transformation
java.rmi.RemoteException
- If error communicating with remote object.void setPromptEnabledObjects(AssociationList list) throws java.rmi.RemoteException
PromptEnabledObjects
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setPromptEnabledObjects(AssociationList list, int state) throws java.rmi.RemoteException
PromptEnabledObjects
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setPromptEnabledObject(Root inObject) throws java.rmi.RemoteException
PromptEnabledObjects
list 0th element to be inObject
.
inObject
- Root
java.rmi.RemoteException
- If error communicating with remote object.void setReferencedPrompts(AssociationList list) throws java.rmi.RemoteException
ReferencedPrompts
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setReferencedPrompts(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 |