|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Variable
Used to define substitution strings and the replacement values.
Attributes of Variable are:
Associations of Variable 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(); Variable myObject = (Variable) factory.createComplexMetadataObject(objectStore, "Variable_Object", MetadataObjects.VARIABLE, "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_ASSOCIATEDOBJECT_NAME
Constant used for the name of the AssociatedObject association. |
static java.lang.String |
ASSOCIATION_OWNINGTRANSFORMATION_NAME
Constant used for the name of the OwningTransformation association. |
static java.lang.String |
ATTRIBUTE_MARKER_NAME
Constant used for the name of the Marker attribute. |
static java.lang.String |
ATTRIBUTE_VALUETYPE_NAME
Constant used for the name of the ValueType 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 |
getAssociatedObject()
Gets the Root for AssociatedObject |
AssociationList |
getAssociatedObjects()
Gets the AssociationList of AssociatedObjects |
AssociationList |
getAssociatedObjects(boolean fGoToServer)
Gets the Associationlist of AssociatedObjects |
java.lang.String |
getMarker()
Gets the String value of Marker |
int |
getMarkerMaxLength()
Gets the maximum length of Marker |
int |
getMarkerState()
Gets the Metadata State of Marker |
AbstractTransformation |
getOwningTransformation()
Gets the AbstractTransformation for OwningTransformation |
AssociationList |
getOwningTransformations()
Gets the AssociationList of OwningTransformations |
AssociationList |
getOwningTransformations(boolean fGoToServer)
Gets the Associationlist of OwningTransformations |
java.lang.String |
getValueType()
Gets the String value of ValueType |
int |
getValueTypeMaxLength()
Gets the maximum length of ValueType |
int |
getValueTypeState()
Gets the Metadata State of ValueType |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedObject OwningTransformation |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningTransformation |
void |
setAssociatedObject(Root inObject)
Sets the AssociatedObjects list 0th element to be inObject . |
void |
setAssociatedObjects(AssociationList list)
Sets the AssociatedObjects list to be list . |
void |
setAssociatedObjects(AssociationList list,
int state)
Sets the AssociatedObjects list to be list . |
void |
setMarker(java.lang.String inMarker)
Sets the Marker value and sets the state to MetadataState.LOCAL. |
void |
setMarker(java.lang.String inMarker,
int state)
Sets the Marker Metadata State. |
void |
setMarkerState(int state)
Sets the Metadata State of Marker . |
void |
setOwningTransformation(AbstractTransformation inObject)
Sets the OwningTransformations list 0th element to be inObject . |
void |
setOwningTransformations(AssociationList list)
Sets the OwningTransformations list to be list . |
void |
setOwningTransformations(AssociationList list,
int state)
Sets the OwningTransformations list to be list . |
void |
setValueType(java.lang.String inValueType)
Sets the ValueType value and sets the state to MetadataState.LOCAL. |
void |
setValueType(java.lang.String inValueType,
int state)
Sets the ValueType Metadata State. |
void |
setValueTypeState(int state)
Sets the Metadata State of ValueType . |
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_MARKER_NAME
Marker: The marker that needs to be replaced. This is the substitution string that should be replaced.
static final java.lang.String ATTRIBUTE_VALUETYPE_NAME
ValueType: The type of the value to replace the marker with. May be used to specify the name of the attribute contained in the associated metadata object that should be used in the replacement.
static final java.lang.String ASSOCIATION_ASSOCIATEDOBJECT_NAME
AssociatedObject: The object that contains the substitution values.
static final java.lang.String ASSOCIATION_OWNINGTRANSFORMATION_NAME
OwningTransformation: The owning transformation for this variable.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
OwningTransformation
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
AssociatedObject
OwningTransformation
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 getMarker() throws java.rmi.RemoteException
String
value of Marker
Marker
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMarkerState() throws java.rmi.RemoteException
Marker
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getMarkerMaxLength() throws java.rmi.RemoteException
Marker
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getValueType() throws java.rmi.RemoteException
String
value of ValueType
ValueType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getValueTypeState() throws java.rmi.RemoteException
ValueType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getValueTypeMaxLength() throws java.rmi.RemoteException
ValueType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getAssociatedObjects() throws java.rmi.RemoteException, MdException
AssociatedObjects
AssociatedObjects
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Root getAssociatedObject() throws java.rmi.RemoteException, MdException
Root
for AssociatedObject
Root
( null
if not set) of AssociatedObject
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 getOwningTransformations() throws java.rmi.RemoteException, MdException
OwningTransformations
OwningTransformations
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
AbstractTransformation getOwningTransformation() throws java.rmi.RemoteException, MdException
AbstractTransformation
for OwningTransformation
AbstractTransformation
( null
if not set) of OwningTransformation
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 getAssociatedObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
AssociatedObjects
fGoToServer
- boolean Get the value from the server.
AssociatedObjects
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 getOwningTransformations(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningTransformations
fGoToServer
- boolean Get the value from the server.
OwningTransformations
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 setMarker(java.lang.String inMarker) throws java.rmi.RemoteException
Marker
value and sets the state to MetadataState.LOCAL.
inMarker
- String
java.rmi.RemoteException
- If error communicating with remote object.void setMarker(java.lang.String inMarker, int state) throws java.rmi.RemoteException
Marker
Metadata State.
inMarker
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setMarkerState(int state) throws java.rmi.RemoteException
Marker
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setValueType(java.lang.String inValueType) throws java.rmi.RemoteException
ValueType
value and sets the state to MetadataState.LOCAL.
inValueType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setValueType(java.lang.String inValueType, int state) throws java.rmi.RemoteException
ValueType
Metadata State.
inValueType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setValueTypeState(int state) throws java.rmi.RemoteException
ValueType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedObjects(AssociationList list) throws java.rmi.RemoteException
AssociatedObjects
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedObjects(AssociationList list, int state) throws java.rmi.RemoteException
AssociatedObjects
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setAssociatedObject(Root inObject) throws java.rmi.RemoteException
AssociatedObjects
list 0th element to be inObject
.
inObject
- Root
java.rmi.RemoteException
- If error communicating with remote object.void setOwningTransformations(AssociationList list) throws java.rmi.RemoteException
OwningTransformations
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningTransformations(AssociationList list, int state) throws java.rmi.RemoteException
OwningTransformations
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningTransformation(AbstractTransformation inObject) throws java.rmi.RemoteException
OwningTransformations
list 0th element to be inObject
.
inObject
- AbstractTransformation
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 |