|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface Extension
Extension enables end users and application developers to define additional attributes that are not part of an object's metadata type definition. Use the Extension metadata type to define attributes that store character values.
Attributes of Extension are:
Associations of Extension 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(); Extension myObject = (Extension) factory.createComplexMetadataObject(objectStore, "Extension_Object", MetadataObjects.EXTENSION, "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_VALUE_NAME
Constant used for the name of the Value attribute. |
| Fields inherited from interface com.sas.metadata.remote.AbstractExtension |
|---|
ASSOCIATION_OWNINGOBJECT_NAME, ATTRIBUTE_EXTENSIONTYPE_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 | |
|---|---|
abstract java.lang.String |
getValue()
Gets the String value of Value |
abstract int |
getValueMaxLength()
Gets the maximum length of Value |
abstract int |
getValueState()
Gets the Metadata State of Value |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setValue(java.lang.String inValue)
Sets the Value value and sets the state to MetadataState.LOCAL. |
abstract void |
setValue(java.lang.String inValue,
int state)
Sets the Value Metadata State. |
abstract void |
setValueState(int state)
Sets the Metadata State of Value. |
| Methods inherited from interface com.sas.metadata.remote.AbstractExtension |
|---|
getExtensionType, getExtensionTypeMaxLength, getExtensionTypeState, getOwningObject, getOwningObjects, getOwningObjects, setExtensionType, setExtensionType, setExtensionTypeState, setOwningObject, setOwningObjects, setOwningObjects |
| 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_VALUE_NAME
Value: This is the actual value of the extension in character format.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface AbstractExtensioninitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
initializePredObjects in interface AbstractExtensioninitializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getValue()
throws java.rmi.RemoteException
String value of Value
Value
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getValueState()
throws java.rmi.RemoteException
Value
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getValueMaxLength()
throws java.rmi.RemoteException
Value
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
void setValue(java.lang.String inValue)
throws java.rmi.RemoteException
Value value and sets the state to MetadataState.LOCAL.
inValue - String
java.rmi.RemoteException - If error communicating with remote object.
void setValue(java.lang.String inValue,
int state)
throws java.rmi.RemoteException
Value Metadata State.
inValue - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setValueState(int state)
throws java.rmi.RemoteException
Value.
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 | |||||||||||||