|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TSNameObject
Table server name object.
Attributes of TSNameObject are:
Associations of TSNameObject 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(); TSNameObject myObject = (TSNameObject) factory.createComplexMetadataObject(objectStore, "TSNameObject_Object", MetadataObjects.TSNAMEOBJECT, "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_TSCONTAININGNAMESPACE_NAME
Constant used for the name of the TSContainingNamespace association. |
static java.lang.String |
ATTRIBUTE_NAMEOBJECTNAME_NAME
Constant used for the name of the NameObjectName attribute. |
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 |
getNameObjectName()
Gets the String value of NameObjectName |
int |
getNameObjectNameMaxLength()
Gets the maximum length of NameObjectName |
int |
getNameObjectNameState()
Gets the Metadata State of NameObjectName |
TSNamespace |
getTSContainingNamespace()
Gets the TSNamespace for TSContainingNamespace |
AssociationList |
getTSContainingNamespaces()
Gets the Association list of TSContainingNamespaces |
AssociationList |
getTSContainingNamespaces(boolean fGoToServer)
Gets the Associationlist of TSContainingNamespaces |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: TSContainingNamespace |
void |
setNameObjectName(java.lang.String inNameObjectName)
Sets the NameObjectName value and sets the state to MetadataState.LOCAL. |
void |
setNameObjectName(java.lang.String inNameObjectName,
int state)
Sets the NameObjectName Metadata State. |
void |
setNameObjectNameState(int state)
Sets the Metadata State of NameObjectName . |
void |
setTSContainingNamespace(TSNamespace inObject)
Sets the TSContainingNamespaces list 0th element to be inObject . |
void |
setTSContainingNamespaces(AssociationList list)
Sets the TSContainingNamespaces list to be list . |
void |
setTSContainingNamespaces(AssociationList list,
int state)
Sets the TSContainingNamespaces 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 ATTRIBUTE_NAMEOBJECTNAME_NAME
NameObjectName: NameObjectName
static final java.lang.String ASSOCIATION_TSCONTAININGNAMESPACE_NAME
TSContainingNamespace: The table server namespace for this name object.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
TSContainingNamespace
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 MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getNameObjectName() throws java.rmi.RemoteException
String
value of NameObjectName
NameObjectName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNameObjectNameState() throws java.rmi.RemoteException
NameObjectName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNameObjectNameMaxLength() throws java.rmi.RemoteException
NameObjectName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getTSContainingNamespaces() throws java.rmi.RemoteException, MdException
TSContainingNamespaces
TSContainingNamespaces
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.TSNamespace getTSContainingNamespace() throws java.rmi.RemoteException, MdException
TSNamespace
for TSContainingNamespace
TSNamespace
( null
if not set ) of TSContainingNamespace
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 getTSContainingNamespaces(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSContainingNamespaces
fGoToServer
- boolean Get the value from the server.
TSContainingNamespaces
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 setNameObjectName(java.lang.String inNameObjectName) throws java.rmi.RemoteException
NameObjectName
value and sets the state to MetadataState.LOCAL.
inNameObjectName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setNameObjectName(java.lang.String inNameObjectName, int state) throws java.rmi.RemoteException
NameObjectName
Metadata State.
inNameObjectName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNameObjectNameState(int state) throws java.rmi.RemoteException
NameObjectName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSContainingNamespaces(AssociationList list) throws java.rmi.RemoteException
TSContainingNamespaces
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSContainingNamespaces(AssociationList list, int state) throws java.rmi.RemoteException
TSContainingNamespaces
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSContainingNamespace(TSNamespace inObject) throws java.rmi.RemoteException
TSContainingNamespaces
list 0th element to be inObject
.
inObject
- TSNamespace
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 |