|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface MdObjectBase
Root class of all metadata classes. This class does not actually exist in the model.
Root inherits from this class, thus inherits all its methods and attributes for all
objects.
Attributes: Name, Id, Created, Updated.
Associations: NONE
| Field Summary | |
|---|---|
static java.lang.String |
ATTRIBUTE_DESC_NAME
Attribute: Desc , String representation of attribute "Desc". |
static java.lang.String |
ATTRIBUTE_ID_NAME
Attribute: Id , String representation of attribute "Id". |
static java.lang.String |
ATTRIBUTE_METADATACREATED_NAME
Attribute: Created , String representation of attribute "Created". |
static java.lang.String |
ATTRIBUTE_METADATAUPDATED_NAME
Attribute: Updated , String representation of attribute "Updated". |
static java.lang.String |
ATTRIBUTE_NAME_NAME
Attribute: Name , String representation of attribute "Name". |
| Method Summary | |
|---|---|
abstract void |
addElementToChangeList(CMetadata object)
Adds the specified metadata object to this object's change list; only adds the object if it is not already in the list |
abstract void |
clearChangeList()
Remove all elements from the change list, and set it to empty |
abstract java.util.Vector<CMetadata> |
getChangeList()
Return the current change list |
abstract java.lang.String |
getCMetadataType()
Return the type of this object |
abstract java.lang.String |
getDesc()
Returns the description attribute |
abstract int |
getDescMaxLength()
Returns the maximum length of an object's description |
abstract int |
getDescState()
Returns the state of the description attribute |
abstract java.lang.String |
getFQID()
Return the unique ID for this object |
abstract java.lang.String |
getId()
Gets the Id of the object. |
abstract int |
getIdState()
gets the state of the ID of the object. |
abstract java.lang.String |
getMetadataCreated()
Return the MetadataCreated attribute |
abstract int |
getMetadataCreatedState()
Get the state of MetadataCreated |
abstract java.lang.String |
getMetadataUpdated()
Return the MetadataUpdated attribute |
abstract int |
getMetadataUpdatedState()
Get the state of metadataUpdated |
abstract java.lang.String |
getName()
Return the name of this object |
abstract int |
getNameMaxLength()
Returns the maximum length of an object's name |
abstract int |
getNameState()
Returns the state of the name attribute |
abstract MdStore |
getObjectStore()
Gets the object Store associated with this object. |
abstract java.util.Vector<java.lang.String> |
getPredAssociations()
Returns list of the pred associations for this object |
abstract java.lang.String |
getRepositoryID()
Return the repository ID (the top part of the unique ID) for this object. |
abstract java.util.Vector<java.lang.String> |
getRequiredAssociations()
Return those associates that are required by this object |
abstract int |
getState()
Return the current state of this object. |
abstract void |
initializePredObjects()
Used to initialize the objects pred array |
abstract boolean |
isAssociationRequired(java.lang.String associationName)
Returns information about the specified association in this object |
abstract boolean |
isNewObject()
Tells whether or not this has a temporary ID. |
abstract boolean |
isPredAssociation(java.lang.String associationName)
Returns information about the specified association in this object |
abstract void |
removeElementFromChangeList(CMetadata object)
Remove the specified element from the change list |
abstract void |
resetObject()
Resets all the states of the attributes and associations to .server. |
abstract void |
resetState(int iValue)
Turn off the specified state variable in the object state |
abstract void |
resetStates()
Resets all the attributes and association list states. |
abstract void |
setCMetadataType(java.lang.String type)
Set the type of this object. |
abstract void |
setDesc(java.lang.String desc)
Set the Description attribute of this object and set its state to MetadataState.LOCAL |
abstract void |
setDesc(java.lang.String desc,
int state)
Set the Description attribute of this object and set the state of the description attribute |
abstract void |
setDescState(int state)
Sets the state of the Description variable |
abstract void |
setFQID(java.lang.String FQID)
Set the ID for this object |
abstract void |
setFQID(java.lang.String FQID,
int state)
Set the ID for this object |
abstract void |
setId(java.lang.String Id)
Set the ID for this object |
abstract void |
setId(java.lang.String Id,
int state)
Set the ID for this object |
abstract void |
setIdState(int state)
Set the ID state for this object |
abstract void |
setMetadataCreated(java.lang.String date)
Set the MetadataCreated attribute |
abstract void |
setMetadataCreated(java.lang.String date,
int state)
Set the MetadataCreated attribute of this object, and set the state of the MetadataCreaated attribute |
abstract void |
setMetadataCreatedState(int state)
Set the state of the MetadataCreated attribute |
abstract void |
setMetadataUpdated(java.lang.String date)
Set the MetadataUpdated attribute |
abstract void |
setMetadataUpdated(java.lang.String date,
int state)
Set the MetadataUpdated attribute of this object, and set the state of the MetadataUpdatted attribute |
abstract void |
setMetadataUpdatedState(int state)
Set the state of the MetadataUpdated attribute |
abstract void |
setName(java.lang.String strName)
Set the name of this metadata object and its state to MetadataState.LOCAL. |
abstract void |
setName(java.lang.String strName,
int state)
Set the name of this metadata object, and set the state of the name to indicate that the name has been set |
abstract void |
setNameState(int state)
Set the state of the name to indicate that the name has been set |
abstract void |
setObjectStore(MdStore OwningStore)
The store that holds this object. |
abstract void |
setState(int iValue)
OR in the specified value with the objectState |
| Field Detail |
|---|
static final java.lang.String ATTRIBUTE_NAME_NAME
static final java.lang.String ATTRIBUTE_DESC_NAME
static final java.lang.String ATTRIBUTE_ID_NAME
static final java.lang.String ATTRIBUTE_METADATACREATED_NAME
static final java.lang.String ATTRIBUTE_METADATAUPDATED_NAME
| Method Detail |
|---|
void setName(java.lang.String strName)
throws java.rmi.RemoteException
strName - string containing the name to use
java.rmi.RemoteException - if connection to object is lost.
void setName(java.lang.String strName,
int state)
throws java.rmi.RemoteException
strName - name to usestate - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.
void setNameState(int state)
throws java.rmi.RemoteException
state - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.
void setMetadataCreated(java.lang.String date)
throws java.rmi.RemoteException
date - String indicating the date to set
java.rmi.RemoteException - if connection to object is lost.
int getMetadataCreatedState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setMetadataCreated(java.lang.String date,
int state)
throws java.rmi.RemoteException
date - String indicating the date to setstate - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.
void setMetadataCreatedState(int state)
throws java.rmi.RemoteException
state - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.MetadataState
int getMetadataUpdatedState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setMetadataUpdated(java.lang.String date)
throws java.rmi.RemoteException
date - String indicating the date to set
java.rmi.RemoteException - if connection to object is lost.
void setMetadataUpdated(java.lang.String date,
int state)
throws java.rmi.RemoteException
date - String indicating the date to setstate - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.
void setMetadataUpdatedState(int state)
throws java.rmi.RemoteException
state - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.MetadataState
java.lang.String getMetadataCreated()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getMetadataUpdated()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getName()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
int getNameMaxLength()
throws java.rmi.RemoteException
java.rmi.RemoteException
void setDesc(java.lang.String desc)
throws java.rmi.RemoteException
desc - Description to set
java.rmi.RemoteException - if connection to object is lost.
void setDesc(java.lang.String desc,
int state)
throws java.rmi.RemoteException
desc - Description to setstate - int variable that indicates current state of this attribute
java.rmi.RemoteException - if connection to object is lost.MetadataState
void setDescState(int state)
throws java.rmi.RemoteException
state - int
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getDesc()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
int getDescMaxLength()
throws java.rmi.RemoteException
java.rmi.RemoteException
int getDescState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
int getNameState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getRepositoryID()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setFQID(java.lang.String FQID)
throws java.rmi.RemoteException
FQID - the ID of the object
java.rmi.RemoteException - if connection to object is lost.
void setFQID(java.lang.String FQID,
int state)
throws java.rmi.RemoteException
FQID - the ID of the objectstate - the state of this attribute.. always set from server.
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getId()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setId(java.lang.String Id)
throws java.rmi.RemoteException
Id - the ID of the object
java.rmi.RemoteException - if connection to object is lost.
void setId(java.lang.String Id,
int state)
throws java.rmi.RemoteException
Id - the ID of the objectstate - the state of this attribute.. always set from server.
java.rmi.RemoteException - if connection to object is lost.
void setIdState(int state)
throws java.rmi.RemoteException
state - the state of this attribute.. always set from server.
java.rmi.RemoteException - if connection to object is lost.
int getIdState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getFQID()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setCMetadataType(java.lang.String type)
throws java.rmi.RemoteException
type - a String that contains the type to set this object type to
java.rmi.RemoteException - if connection to object is lost.
java.lang.String getCMetadataType()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
boolean isNewObject()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
int getState()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.MetadataState
void setState(int iValue)
throws java.rmi.RemoteException
iValue - the value to OR in with the current object state
java.rmi.RemoteException - if connection to object is lost.
void resetState(int iValue)
throws java.rmi.RemoteException
iValue - the flag to turn off in the object state flags
java.rmi.RemoteException - if connection to object is lost.
void resetObject()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void resetStates()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
MdStore getObjectStore()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
void setObjectStore(MdStore OwningStore)
throws java.rmi.RemoteException
OwningStore - MdStore the store to us to search for assoc objects.
java.rmi.RemoteException - if connection to object is lost.
void addElementToChangeList(CMetadata object)
throws java.rmi.RemoteException
object - The metadata object to add to the list
java.rmi.RemoteException - if connection to object is lost.
void removeElementFromChangeList(CMetadata object)
throws java.rmi.RemoteException
object - Metadata object to remove. If the object does not exist in the list, this method just returns
java.rmi.RemoteException - if connection to object is lost.
void clearChangeList()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.util.Vector<CMetadata> getChangeList()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.util.Vector<java.lang.String> getRequiredAssociations()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
boolean isAssociationRequired(java.lang.String associationName)
throws java.rmi.RemoteException
associationName - the name of the association (as specified in the model)
java.rmi.RemoteException - if connection to object is lost.
void initializePredObjects()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
java.util.Vector<java.lang.String> getPredAssociations()
throws java.rmi.RemoteException
java.rmi.RemoteException - if connection to object is lost.
boolean isPredAssociation(java.lang.String associationName)
throws java.rmi.RemoteException
associationName - the name of the association (as specified in the model)
java.rmi.RemoteException - if connection to object is lost.
|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||