|
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 | |
---|---|
ContentLocation |
getAssociatedContentLocation()
Gets the ContentLocation for AssociatedContentLocation |
AssociationList |
getAssociatedContentLocations()
Gets the AssociationList of AssociatedContentLocations |
AssociationList |
getAssociatedContentLocations(boolean fGoToServer)
Gets the Associationlist of AssociatedContentLocations |
int |
getNumberofUnits()
Gets the int value of NumberofUnits |
int |
getNumberofUnitsState()
Gets the Metadata State of NumberofUnits |
java.lang.String |
getUnit()
Gets the String value of Unit |
int |
getUnitMaxLength()
Gets the maximum length of Unit |
java.lang.String |
getUnitofTimeRole()
Gets the String value of UnitofTimeRole |
int |
getUnitofTimeRoleMaxLength()
Gets the maximum length of UnitofTimeRole |
int |
getUnitofTimeRoleState()
Gets the Metadata State of UnitofTimeRole |
int |
getUnitState()
Gets the Metadata State of Unit |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: AssociatedContentLocation |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedContentLocation(ContentLocation inObject)
Sets the AssociatedContentLocations list 0th element to be inObject . |
void |
setAssociatedContentLocations(AssociationList list)
Sets the AssociatedContentLocations list to be list . |
void |
setAssociatedContentLocations(AssociationList list,
int state)
Sets the AssociatedContentLocations list to be list . |
void |
setNumberofUnits(int inNumberofUnits)
Sets the NumberofUnits value and sets the state to MetadataState.LOCAL. |
void |
setNumberofUnits(int inNumberofUnits,
int state)
Sets the NumberofUnits Metadata State. |
void |
setNumberofUnits(java.lang.String inNumberofUnits)
Sets the NumberofUnits value and sets the state to MetadataState.LOCAL. |
void |
setNumberofUnits(java.lang.String inNumberofUnits,
int state)
Sets the NumberofUnits value and Metadata State. |
void |
setNumberofUnitsState(int state)
Sets the Metadata State of NumberofUnits . |
void |
setUnit(java.lang.String inUnit)
Sets the Unit value and sets the state to MetadataState.LOCAL. |
void |
setUnit(java.lang.String inUnit,
int state)
Sets the Unit Metadata State. |
void |
setUnitofTimeRole(java.lang.String inUnitofTimeRole)
Sets the UnitofTimeRole value and sets the state to MetadataState.LOCAL. |
void |
setUnitofTimeRole(java.lang.String inUnitofTimeRole,
int state)
Sets the UnitofTimeRole Metadata State. |
void |
setUnitofTimeRoleState(int state)
Sets the Metadata State of UnitofTimeRole . |
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 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
AssociatedContentLocation
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 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 AssociatedContentLocation
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 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 |