|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface NumericExtension
This allows an application to create a numeric extension to any object.
Attributes of NumericExtension are:
Associations of NumericExtension 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(); NumericExtension myObject = (NumericExtension) factory.createComplexMetadataObject(objectStore, "NumericExtension_Object", MetadataObjects.NUMERICEXTENSION, "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_NUMERICVALUE_NAME
Constant used for the name of the NumericValue 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 | |
---|---|
double |
getNumericValue()
Gets the double value of NumericValue |
int |
getNumericValueState()
Gets the Metadata State of NumericValue |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setNumericValue(double inNumericValue)
Sets the NumericValue value and sets the state to MetadataState.LOCAL. |
void |
setNumericValue(double inNumericValue,
int state)
Sets the NumericValue Metadata State. |
void |
setNumericValue(java.lang.String inNumericValue)
Sets the NumericValue value and sets the state to MetadataState.LOCAL |
void |
setNumericValue(java.lang.String inNumericValue,
int state)
Sets the NumericValue value and Metadata State. |
void |
setNumericValueState(int state)
Sets the Metadata State of NumericValue . |
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_NUMERICVALUE_NAME
NumericValue: This is the actual value of the extension.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface AbstractExtension
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
initializePredObjects
in interface AbstractExtension
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.double getNumericValue() throws java.rmi.RemoteException
double
value of NumericValue
NumericValue
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNumericValueState() throws java.rmi.RemoteException
NumericValue
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setNumericValue(double inNumericValue) throws java.rmi.RemoteException
NumericValue
value and sets the state to MetadataState.LOCAL.
inNumericValue
- double
java.rmi.RemoteException
- If error communicating with remote object.void setNumericValue(double inNumericValue, int state) throws java.rmi.RemoteException
NumericValue
Metadata State.
inNumericValue
- doublestate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNumericValue(java.lang.String inNumericValue) throws java.rmi.RemoteException
NumericValue
value and sets the state to MetadataState.LOCAL
inNumericValue
- String
java.rmi.RemoteException
- If error communicating with remote object.void setNumericValue(java.lang.String inNumericValue, int state) throws java.rmi.RemoteException
NumericValue
value and Metadata State.
inNumericValue
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNumericValueState(int state) throws java.rmi.RemoteException
NumericValue
.
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 |