|
| 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 | |
|---|---|
abstract java.lang.String |
getContext()
Gets the String value of Context |
abstract int |
getContextMaxLength()
Gets the maximum length of Context |
abstract int |
getContextState()
Gets the Metadata State of Context |
abstract java.lang.String |
getIdentifier()
Gets the String value of Identifier |
abstract int |
getIdentifierMaxLength()
Gets the maximum length of Identifier |
abstract int |
getIdentifierState()
Gets the Metadata State of Identifier |
abstract java.lang.String |
getImportType()
Gets the String value of ImportType |
abstract int |
getImportTypeMaxLength()
Gets the maximum length of ImportType |
abstract int |
getImportTypeState()
Gets the Metadata State of ImportType |
abstract Root |
getOwningObject()
Gets the Root for OwningObject |
abstract AssociationList |
getOwningObjects()
Gets the AssociationList of OwningObjects |
abstract AssociationList |
getOwningObjects(boolean fGoToServer)
Gets the Associationlist of OwningObjects |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: OwningObject |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: OwningObject |
abstract void |
setContext(java.lang.String inContext)
Sets the Context value and sets the state to MetadataState.LOCAL. |
abstract void |
setContext(java.lang.String inContext,
int state)
Sets the Context Metadata State. |
abstract void |
setContextState(int state)
Sets the Metadata State of Context. |
abstract void |
setIdentifier(java.lang.String inIdentifier)
Sets the Identifier value and sets the state to MetadataState.LOCAL. |
abstract void |
setIdentifier(java.lang.String inIdentifier,
int state)
Sets the Identifier Metadata State. |
abstract void |
setIdentifierState(int state)
Sets the Metadata State of Identifier. |
abstract void |
setImportType(java.lang.String inImportType)
Sets the ImportType value and sets the state to MetadataState.LOCAL. |
abstract void |
setImportType(java.lang.String inImportType,
int state)
Sets the ImportType Metadata State. |
abstract void |
setImportTypeState(int state)
Sets the Metadata State of ImportType. |
abstract void |
setOwningObject(Root inObject)
Sets the OwningObjects list 0th element to be inObject. |
abstract void |
setOwningObjects(AssociationList list)
Sets the OwningObjects list to be list. |
abstract 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 MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
OwningObject
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.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 OwningObjectwhich 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 | |||||||||||||