|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface UnitofTime
Unit of time.
Attributes of UnitofTime are:
Associations of UnitofTime 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(); UnitofTime myObject = (UnitofTime) factory.createComplexMetadataObject(objectStore, "UnitofTime_Object", MetadataObjects.UNITOFTIME, "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_ASSOCIATEDCONTENTLOCATION_NAME
Constant used for the name of the AssociatedContentLocation association. |
static java.lang.String |
ATTRIBUTE_NUMBEROFUNITS_NAME
Constant used for the name of the NumberofUnits attribute. |
static java.lang.String |
ATTRIBUTE_UNIT_NAME
Constant used for the name of the Unit attribute. |
static java.lang.String |
ATTRIBUTE_UNITOFTIMEROLE_NAME
Constant used for the name of the UnitofTimeRole 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 ContentLocation |
getAssociatedContentLocation()
Gets the ContentLocation for AssociatedContentLocation |
abstract AssociationList |
getAssociatedContentLocations()
Gets the AssociationList of AssociatedContentLocations |
abstract AssociationList |
getAssociatedContentLocations(boolean fGoToServer)
Gets the Associationlist of AssociatedContentLocations |
abstract int |
getNumberofUnits()
Gets the int value of NumberofUnits |
abstract int |
getNumberofUnitsState()
Gets the Metadata State of NumberofUnits |
abstract java.lang.String |
getUnit()
Gets the String value of Unit |
abstract int |
getUnitMaxLength()
Gets the maximum length of Unit |
abstract java.lang.String |
getUnitofTimeRole()
Gets the String value of UnitofTimeRole |
abstract int |
getUnitofTimeRoleMaxLength()
Gets the maximum length of UnitofTimeRole |
abstract int |
getUnitofTimeRoleState()
Gets the Metadata State of UnitofTimeRole |
abstract int |
getUnitState()
Gets the Metadata State of Unit |
abstract void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedContentLocation |
abstract void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
abstract void |
setAssociatedContentLocation(ContentLocation inObject)
Sets the AssociatedContentLocations list 0th element to be inObject. |
abstract void |
setAssociatedContentLocations(AssociationList list)
Sets the AssociatedContentLocations list to be list. |
abstract void |
setAssociatedContentLocations(AssociationList list,
int state)
Sets the AssociatedContentLocations list to be list. |
abstract void |
setNumberofUnits(int inNumberofUnits)
Sets the NumberofUnits value and sets the state to MetadataState.LOCAL. |
abstract void |
setNumberofUnits(int inNumberofUnits,
int state)
Sets the NumberofUnits Metadata State. |
abstract void |
setNumberofUnits(java.lang.String inNumberofUnits)
Sets the NumberofUnits value and sets the state to MetadataState.LOCAL. |
abstract void |
setNumberofUnits(java.lang.String inNumberofUnits,
int state)
Sets the NumberofUnits value and Metadata State. |
abstract void |
setNumberofUnitsState(int state)
Sets the Metadata State of NumberofUnits. |
abstract void |
setUnit(java.lang.String inUnit)
Sets the Unit value and sets the state to MetadataState.LOCAL. |
abstract void |
setUnit(java.lang.String inUnit,
int state)
Sets the Unit Metadata State. |
abstract void |
setUnitofTimeRole(java.lang.String inUnitofTimeRole)
Sets the UnitofTimeRole value and sets the state to MetadataState.LOCAL. |
abstract void |
setUnitofTimeRole(java.lang.String inUnitofTimeRole,
int state)
Sets the UnitofTimeRole Metadata State. |
abstract void |
setUnitofTimeRoleState(int state)
Sets the Metadata State of UnitofTimeRole. |
abstract void |
setUnitState(int state)
Sets the Metadata State of Unit. |
| 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_UNITOFTIMEROLE_NAME
UnitofTimeRole: The function or context of this unit of time.
static final java.lang.String ATTRIBUTE_UNIT_NAME
Unit: The unit used for the measurement. Example: day, hour, week
static final java.lang.String ATTRIBUTE_NUMBEROFUNITS_NAME
NumberofUnits: This is the number of units. Example: '5' days, '1' week.
static final java.lang.String ASSOCIATION_ASSOCIATEDCONTENTLOCATION_NAME
AssociatedContentLocation: The associated content location.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
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
AssociatedContentLocation
initializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getUnitofTimeRole()
throws java.rmi.RemoteException
String value of UnitofTimeRole
UnitofTimeRole
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUnitofTimeRoleState()
throws java.rmi.RemoteException
UnitofTimeRole
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUnitofTimeRoleMaxLength()
throws java.rmi.RemoteException
UnitofTimeRole
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
java.lang.String getUnit()
throws java.rmi.RemoteException
String value of Unit
Unit
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUnitState()
throws java.rmi.RemoteException
Unit
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getUnitMaxLength()
throws java.rmi.RemoteException
Unit
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getNumberofUnits()
throws java.rmi.RemoteException
int value of NumberofUnits
NumberofUnits
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getNumberofUnitsState()
throws java.rmi.RemoteException
NumberofUnits
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAssociatedContentLocations()
throws java.rmi.RemoteException,
MdException
AssociatedContentLocations
AssociatedContentLocations which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
ContentLocation getAssociatedContentLocation()
throws java.rmi.RemoteException,
MdException
ContentLocation for AssociatedContentLocation
ContentLocation ( null if not set) of AssociatedContentLocationwhich 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 getAssociatedContentLocations(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedContentLocations
fGoToServer - boolean Get the value from the server.
AssociatedContentLocations 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 setUnitofTimeRole(java.lang.String inUnitofTimeRole)
throws java.rmi.RemoteException
UnitofTimeRole value and sets the state to MetadataState.LOCAL.
inUnitofTimeRole - String
java.rmi.RemoteException - If error communicating with remote object.
void setUnitofTimeRole(java.lang.String inUnitofTimeRole,
int state)
throws java.rmi.RemoteException
UnitofTimeRole Metadata State.
inUnitofTimeRole - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setUnitofTimeRoleState(int state)
throws java.rmi.RemoteException
UnitofTimeRole.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setUnit(java.lang.String inUnit)
throws java.rmi.RemoteException
Unit value and sets the state to MetadataState.LOCAL.
inUnit - String
java.rmi.RemoteException - If error communicating with remote object.
void setUnit(java.lang.String inUnit,
int state)
throws java.rmi.RemoteException
Unit Metadata State.
inUnit - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setUnitState(int state)
throws java.rmi.RemoteException
Unit.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumberofUnits(int inNumberofUnits)
throws java.rmi.RemoteException
NumberofUnits value and sets the state to MetadataState.LOCAL.
inNumberofUnits - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumberofUnits(int inNumberofUnits,
int state)
throws java.rmi.RemoteException
NumberofUnits Metadata State.
inNumberofUnits - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumberofUnits(java.lang.String inNumberofUnits)
throws java.rmi.RemoteException
NumberofUnits value and sets the state to MetadataState.LOCAL.
inNumberofUnits - String
java.rmi.RemoteException - If error communicating with remote object.
void setNumberofUnits(java.lang.String inNumberofUnits,
int state)
throws java.rmi.RemoteException
NumberofUnits value and Metadata State.
inNumberofUnits - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setNumberofUnitsState(int state)
throws java.rmi.RemoteException
NumberofUnits.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedContentLocations(AssociationList list)
throws java.rmi.RemoteException
AssociatedContentLocations list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedContentLocations(AssociationList list,
int state)
throws java.rmi.RemoteException
AssociatedContentLocations list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedContentLocation(ContentLocation inObject)
throws java.rmi.RemoteException
AssociatedContentLocations list 0th element to be inObject.
inObject - ContentLocation
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 | |||||||||||||