|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface ExternalIdentity
This is an ID associated with the object in some other context, such as a GUID or DN for LDAP .
Attributes of ExternalIdentity are:
Associations of ExternalIdentity 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(); ExternalIdentity myObject = (ExternalIdentity) factory.createComplexMetadataObject(objectStore, "ExternalIdentity_Object", MetadataObjects.EXTERNALIDENTITY, "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_OWNINGOBJECT_NAME
Constant used for the name of the OwningObject association. |
static java.lang.String |
ATTRIBUTE_CONTEXT_NAME
Constant used for the name of the Context attribute. |
static java.lang.String |
ATTRIBUTE_IDENTIFIER_NAME
Constant used for the name of the Identifier attribute. |
static java.lang.String |
ATTRIBUTE_IMPORTTYPE_NAME
Constant used for the name of the ImportType 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 | |
---|---|
java.lang.String |
getContext()
Gets the String value of Context |
int |
getContextMaxLength()
Gets the maximum length of Context |
int |
getContextState()
Gets the Metadata State of Context |
java.lang.String |
getIdentifier()
Gets the String value of Identifier |
int |
getIdentifierMaxLength()
Gets the maximum length of Identifier |
int |
getIdentifierState()
Gets the Metadata State of Identifier |
java.lang.String |
getImportType()
Gets the String value of ImportType |
int |
getImportTypeMaxLength()
Gets the maximum length of ImportType |
int |
getImportTypeState()
Gets the Metadata State of ImportType |
Root |
getOwningObject()
Gets the Root for OwningObject |
AssociationList |
getOwningObjects()
Gets the AssociationList of OwningObjects |
AssociationList |
getOwningObjects(boolean fGoToServer)
Gets the Associationlist of OwningObjects |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningObject |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningObject |
void |
setContext(java.lang.String inContext)
Sets the Context value and sets the state to MetadataState.LOCAL. |
void |
setContext(java.lang.String inContext,
int state)
Sets the Context Metadata State. |
void |
setContextState(int state)
Sets the Metadata State of Context . |
void |
setIdentifier(java.lang.String inIdentifier)
Sets the Identifier value and sets the state to MetadataState.LOCAL. |
void |
setIdentifier(java.lang.String inIdentifier,
int state)
Sets the Identifier Metadata State. |
void |
setIdentifierState(int state)
Sets the Metadata State of Identifier . |
void |
setImportType(java.lang.String inImportType)
Sets the ImportType value and sets the state to MetadataState.LOCAL. |
void |
setImportType(java.lang.String inImportType,
int state)
Sets the ImportType Metadata State. |
void |
setImportTypeState(int state)
Sets the Metadata State of ImportType . |
void |
setOwningObject(Root inObject)
Sets the OwningObjects list 0th element to be inObject . |
void |
setOwningObjects(AssociationList list)
Sets the OwningObjects list to be list . |
void |
setOwningObjects(AssociationList list,
int state)
Sets the OwningObjects list to be list . |
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_CONTEXT_NAME
Context: The context for this ID, such as GUID, LDAP DN, or OM repository ID.
static final java.lang.String ATTRIBUTE_IDENTIFIER_NAME
Identifier: The identifier in the originating context.
static final java.lang.String ATTRIBUTE_IMPORTTYPE_NAME
ImportType: How the owning object was created. such as Copy, Import
static final java.lang.String ASSOCIATION_OWNINGOBJECT_NAME
OwningObject: The object that had this ID in another context.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
OwningObject
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
OwningObject
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 getContext() throws java.rmi.RemoteException
String
value of Context
Context
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getContextState() throws java.rmi.RemoteException
Context
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getContextMaxLength() throws java.rmi.RemoteException
Context
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getIdentifier() throws java.rmi.RemoteException
String
value of Identifier
Identifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIdentifierState() throws java.rmi.RemoteException
Identifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIdentifierMaxLength() throws java.rmi.RemoteException
Identifier
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getImportType() throws java.rmi.RemoteException
String
value of ImportType
ImportType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getImportTypeState() throws java.rmi.RemoteException
ImportType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getImportTypeMaxLength() throws java.rmi.RemoteException
ImportType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getOwningObjects() throws java.rmi.RemoteException, MdException
OwningObjects
OwningObjects
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
Root getOwningObject() throws java.rmi.RemoteException, MdException
Root
for OwningObject
Root
( null
if not set) of OwningObject
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 getOwningObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
OwningObjects
fGoToServer
- boolean Get the value from the server.
OwningObjects
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 setContext(java.lang.String inContext) throws java.rmi.RemoteException
Context
value and sets the state to MetadataState.LOCAL.
inContext
- String
java.rmi.RemoteException
- If error communicating with remote object.void setContext(java.lang.String inContext, int state) throws java.rmi.RemoteException
Context
Metadata State.
inContext
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setContextState(int state) throws java.rmi.RemoteException
Context
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIdentifier(java.lang.String inIdentifier) throws java.rmi.RemoteException
Identifier
value and sets the state to MetadataState.LOCAL.
inIdentifier
- String
java.rmi.RemoteException
- If error communicating with remote object.void setIdentifier(java.lang.String inIdentifier, int state) throws java.rmi.RemoteException
Identifier
Metadata State.
inIdentifier
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIdentifierState(int state) throws java.rmi.RemoteException
Identifier
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setImportType(java.lang.String inImportType) throws java.rmi.RemoteException
ImportType
value and sets the state to MetadataState.LOCAL.
inImportType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setImportType(java.lang.String inImportType, int state) throws java.rmi.RemoteException
ImportType
Metadata State.
inImportType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setImportTypeState(int state) throws java.rmi.RemoteException
ImportType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningObjects(AssociationList list) throws java.rmi.RemoteException
OwningObjects
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setOwningObjects(AssociationList list, int state) throws java.rmi.RemoteException
OwningObjects
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setOwningObject(Root inObject) throws java.rmi.RemoteException
OwningObjects
list 0th element to be inObject
.
inObject
- Root
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 |