|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface TSNamespace
Table server namespace.
Attributes of TSNamespace are:
Associations of TSNamespace 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(); TSNamespace myObject = (TSNamespace) factory.createComplexMetadataObject(objectStore, "TSNamespace_Object", MetadataObjects.TSNAMESPACE, "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_TSACCESSKEYS_NAME
Constant used for the name of the TSAccessKeys association. |
static java.lang.String |
ASSOCIATION_TSCONTAINEDNAMES_NAME
Constant used for the name of the TSContainedNames association. |
static java.lang.String |
ASSOCIATION_TSNAMESPACELOCATIONS_NAME
Constant used for the name of the TSNamespaceLocations association. |
static java.lang.String |
ASSOCIATION_TSOBJECTS_NAME
Constant used for the name of the TSObjects association. |
static java.lang.String |
ASSOCIATION_TSPARENTNAMESPACE_NAME
Constant used for the name of the TSParentNamespace association. |
static java.lang.String |
ASSOCIATION_TSSUBNAMESPACES_NAME
Constant used for the name of the TSSubNamespaces association. |
static java.lang.String |
ATTRIBUTE_FLAGS_NAME
Constant used for the name of the Flags attribute. |
static java.lang.String |
ATTRIBUTE_NAMESPACENAME_NAME
Constant used for the name of the NamespaceName attribute. |
static java.lang.String |
ATTRIBUTE_NAMESPACETYPE_NAME
Constant used for the name of the NamespaceType 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 | |
---|---|
int |
getFlags()
Gets the int value of Flags |
int |
getFlagsState()
Gets the Metadata State of Flags |
java.lang.String |
getNamespaceName()
Gets the String value of NamespaceName |
int |
getNamespaceNameMaxLength()
Gets the maximum length of NamespaceName |
int |
getNamespaceNameState()
Gets the Metadata State of NamespaceName |
java.lang.String |
getNamespaceType()
Gets the String value of NamespaceType |
int |
getNamespaceTypeMaxLength()
Gets the maximum length of NamespaceType |
int |
getNamespaceTypeState()
Gets the Metadata State of NamespaceType |
AssociationList |
getTSAccessKeys()
Gets the AssociationList of TSAccessKeys |
AssociationList |
getTSAccessKeys(boolean fGoToServer)
Gets the Associationlist of TSAccessKeys |
AssociationList |
getTSContainedNames()
Gets the AssociationList of TSContainedNames |
AssociationList |
getTSContainedNames(boolean fGoToServer)
Gets the Associationlist of TSContainedNames |
AssociationList |
getTSNamespaceLocations()
Gets the AssociationList of TSNamespaceLocations |
AssociationList |
getTSNamespaceLocations(boolean fGoToServer)
Gets the Associationlist of TSNamespaceLocations |
AssociationList |
getTSObjects()
Gets the Association list of TSObjects |
AssociationList |
getTSObjects(boolean fGoToServer)
Gets the Associationlist of TSObjects |
TSNamespace |
getTSParentNamespace()
Gets the TSNamespace for TSParentNamespace |
AssociationList |
getTSParentNamespaces()
Gets the AssociationList of TSParentNamespaces |
AssociationList |
getTSParentNamespaces(boolean fGoToServer)
Gets the Associationlist of TSParentNamespaces |
AssociationList |
getTSSubNamespaces()
Gets the Association list of TSSubNamespaces |
AssociationList |
getTSSubNamespaces(boolean fGoToServer)
Gets the Associationlist of TSSubNamespaces |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: TSAccessKeys TSContainedNames TSNamespaceLocations TSParentNamespace |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setFlags(int inFlags)
Sets the Flags value and sets the state to MetadataState.LOCAL. |
void |
setFlags(int inFlags,
int state)
Sets the Flags Metadata State. |
void |
setFlags(java.lang.String inFlags)
Sets the Flags value and sets the state to MetadataState.LOCAL. |
void |
setFlags(java.lang.String inFlags,
int state)
Sets the Flags value and Metadata State. |
void |
setFlagsState(int state)
Sets the Metadata State of Flags . |
void |
setNamespaceName(java.lang.String inNamespaceName)
Sets the NamespaceName value and sets the state to MetadataState.LOCAL. |
void |
setNamespaceName(java.lang.String inNamespaceName,
int state)
Sets the NamespaceName Metadata State. |
void |
setNamespaceNameState(int state)
Sets the Metadata State of NamespaceName . |
void |
setNamespaceType(java.lang.String inNamespaceType)
Sets the NamespaceType value and sets the state to MetadataState.LOCAL. |
void |
setNamespaceType(java.lang.String inNamespaceType,
int state)
Sets the NamespaceType Metadata State. |
void |
setNamespaceTypeState(int state)
Sets the Metadata State of NamespaceType . |
void |
setTSAccessKeys(AssociationList list)
Sets the TSAccessKeys list to be list . |
void |
setTSAccessKeys(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setTSContainedNames(AssociationList list)
Sets the TSContainedNames list to be list . |
void |
setTSContainedNames(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setTSNamespaceLocations(AssociationList list)
Sets the TSNamespaceLocations list to be list . |
void |
setTSNamespaceLocations(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setTSObjects(AssociationList list)
Sets the TSObjects list to be list . |
void |
setTSObjects(AssociationList inObjects,
int state)
Sets the entire TSObjects list to match the passed in AssociationList, sets the state of the TSObjects |
void |
setTSParentNamespace(TSNamespace inObject)
Sets the TSParentNamespaces list 0th element to be inObject . |
void |
setTSParentNamespaces(AssociationList list)
Sets the TSParentNamespaces list to be list . |
void |
setTSParentNamespaces(AssociationList list,
int state)
Sets the TSParentNamespaces list to be list . |
void |
setTSSubNamespaces(AssociationList list)
Sets the TSSubNamespaces list to be list . |
void |
setTSSubNamespaces(AssociationList inObjects,
int state)
Sets the entire TSSubNamespaces list to match the passed in AssociationList, sets the state of the TSSubNamespaces |
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_NAMESPACETYPE_NAME
NamespaceType: NamespaceType
static final java.lang.String ATTRIBUTE_FLAGS_NAME
Flags: Flags
static final java.lang.String ATTRIBUTE_NAMESPACENAME_NAME
NamespaceName: NamespaceName
static final java.lang.String ASSOCIATION_TSACCESSKEYS_NAME
TSAccessKeys: The access key used by this table server namespace.
static final java.lang.String ASSOCIATION_TSCONTAINEDNAMES_NAME
TSContainedNames: The table server names that belong to this space.
static final java.lang.String ASSOCIATION_TSNAMESPACELOCATIONS_NAME
TSNamespaceLocations: Location for the table server namespace.
static final java.lang.String ASSOCIATION_TSPARENTNAMESPACE_NAME
TSParentNamespace: The parent of this object.
static final java.lang.String ASSOCIATION_TSOBJECTS_NAME
TSObjects: Table server objects contained in this namespace.
static final java.lang.String ASSOCIATION_TSSUBNAMESPACES_NAME
TSSubNamespaces: *Unknown*
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
TSAccessKeys
TSContainedNames
TSNamespaceLocations
TSParentNamespace
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 getNamespaceType() throws java.rmi.RemoteException
String
value of NamespaceType
NamespaceType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNamespaceTypeState() throws java.rmi.RemoteException
NamespaceType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNamespaceTypeMaxLength() throws java.rmi.RemoteException
NamespaceType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFlags() throws java.rmi.RemoteException
int
value of Flags
Flags
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getFlagsState() throws java.rmi.RemoteException
Flags
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getNamespaceName() throws java.rmi.RemoteException
String
value of NamespaceName
NamespaceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNamespaceNameState() throws java.rmi.RemoteException
NamespaceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getNamespaceNameMaxLength() throws java.rmi.RemoteException
NamespaceName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getTSAccessKeys() throws java.rmi.RemoteException, MdException
TSAccessKeys
TSAccessKeys
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 getTSContainedNames() throws java.rmi.RemoteException, MdException
TSContainedNames
TSContainedNames
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 getTSNamespaceLocations() throws java.rmi.RemoteException, MdException
TSNamespaceLocations
TSNamespaceLocations
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 getTSParentNamespaces() throws java.rmi.RemoteException, MdException
TSParentNamespaces
TSParentNamespaces
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
TSNamespace getTSParentNamespace() throws java.rmi.RemoteException, MdException
TSNamespace
for TSParentNamespace
TSNamespace
( null
if not set) of TSParentNamespace
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 getTSObjects() throws java.rmi.RemoteException, MdException
TSObjects
TSObjects
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 getTSSubNamespaces() throws java.rmi.RemoteException, MdException
TSSubNamespaces
TSSubNamespaces
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 getTSAccessKeys(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSAccessKeys
fGoToServer
- boolean Get the value from the server.
TSAccessKeys
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 getTSContainedNames(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSContainedNames
fGoToServer
- boolean Get the value from the server.
TSContainedNames
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 getTSNamespaceLocations(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSNamespaceLocations
fGoToServer
- boolean Get the value from the server.
TSNamespaceLocations
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 getTSParentNamespaces(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSParentNamespaces
fGoToServer
- boolean Get the value from the server.
TSParentNamespaces
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 getTSObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSObjects
fGoToServer
- boolean Get the value from the server.
TSObjects
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 getTSSubNamespaces(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TSSubNamespaces
fGoToServer
- boolean Get the value from the server.
TSSubNamespaces
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 setNamespaceType(java.lang.String inNamespaceType) throws java.rmi.RemoteException
NamespaceType
value and sets the state to MetadataState.LOCAL.
inNamespaceType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setNamespaceType(java.lang.String inNamespaceType, int state) throws java.rmi.RemoteException
NamespaceType
Metadata State.
inNamespaceType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNamespaceTypeState(int state) throws java.rmi.RemoteException
NamespaceType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFlags(int inFlags) throws java.rmi.RemoteException
Flags
value and sets the state to MetadataState.LOCAL.
inFlags
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFlags(int inFlags, int state) throws java.rmi.RemoteException
Flags
Metadata State.
inFlags
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFlags(java.lang.String inFlags) throws java.rmi.RemoteException
Flags
value and sets the state to MetadataState.LOCAL.
inFlags
- String
java.rmi.RemoteException
- If error communicating with remote object.void setFlags(java.lang.String inFlags, int state) throws java.rmi.RemoteException
Flags
value and Metadata State.
inFlags
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setFlagsState(int state) throws java.rmi.RemoteException
Flags
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNamespaceName(java.lang.String inNamespaceName) throws java.rmi.RemoteException
NamespaceName
value and sets the state to MetadataState.LOCAL.
inNamespaceName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setNamespaceName(java.lang.String inNamespaceName, int state) throws java.rmi.RemoteException
NamespaceName
Metadata State.
inNamespaceName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setNamespaceNameState(int state) throws java.rmi.RemoteException
NamespaceName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSAccessKeys(AssociationList list) throws java.rmi.RemoteException
TSAccessKeys
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSAccessKeys(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSContainedNames(AssociationList list) throws java.rmi.RemoteException
TSContainedNames
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSContainedNames(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSNamespaceLocations(AssociationList list) throws java.rmi.RemoteException
TSNamespaceLocations
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSNamespaceLocations(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSParentNamespaces(AssociationList list) throws java.rmi.RemoteException
TSParentNamespaces
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSParentNamespaces(AssociationList list, int state) throws java.rmi.RemoteException
TSParentNamespaces
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSParentNamespace(TSNamespace inObject) throws java.rmi.RemoteException
TSParentNamespaces
list 0th element to be inObject
.
inObject
- TSNamespace
java.rmi.RemoteException
- If error communicating with remote object.void setTSObjects(AssociationList list) throws java.rmi.RemoteException
TSObjects
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSObjects(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTSSubNamespaces(AssociationList list) throws java.rmi.RemoteException
TSSubNamespaces
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTSSubNamespaces(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 |