|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface Timestamp
This object contains a timestamp and the role of the timestamp.
Attributes of Timestamp are:
Associations of Timestamp 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(); Timestamp myObject = (Timestamp) factory.createComplexMetadataObject(objectStore, "Timestamp_Object", MetadataObjects.TIMESTAMP, "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_OBJECTS_NAME
Constant used for the name of the Objects association. |
static java.lang.String |
ATTRIBUTE_DATEANDTIME_NAME
Constant used for the name of the DateandTime attribute. |
static java.lang.String |
ATTRIBUTE_TIMESTAMPROLE_NAME
Constant used for the name of the TimestampRole attribute. |
static java.lang.String |
ATTRIBUTE_TIMEZONE_NAME
Constant used for the name of the TimeZone 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 | |
---|---|
double |
getDateandTime()
Gets the double value of DateandTime |
int |
getDateandTimeState()
Gets the Metadata State of DateandTime |
AssociationList |
getObjects()
Gets the AssociationList of Objects |
AssociationList |
getObjects(boolean fGoToServer)
Gets the Associationlist of Objects |
java.lang.String |
getTimestampRole()
Gets the String value of TimestampRole |
int |
getTimestampRoleMaxLength()
Gets the maximum length of TimestampRole |
int |
getTimestampRoleState()
Gets the Metadata State of TimestampRole |
java.lang.String |
getTimeZone()
Gets the String value of TimeZone |
int |
getTimeZoneMaxLength()
Gets the maximum length of TimeZone |
int |
getTimeZoneState()
Gets the Metadata State of TimeZone |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: Objects |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setDateandTime(double inDateandTime)
Sets the DateandTime value and sets the state to MetadataState.LOCAL. |
void |
setDateandTime(double inDateandTime,
int state)
Sets the DateandTime Metadata State. |
void |
setDateandTime(java.lang.String inDateandTime)
Sets the DateandTime value and sets the state to MetadataState.LOCAL |
void |
setDateandTime(java.lang.String inDateandTime,
int state)
Sets the DateandTime value and Metadata State. |
void |
setDateandTimeState(int state)
Sets the Metadata State of DateandTime . |
void |
setObjects(AssociationList list)
Sets the Objects list to be list . |
void |
setObjects(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setTimestampRole(java.lang.String inTimestampRole)
Sets the TimestampRole value and sets the state to MetadataState.LOCAL. |
void |
setTimestampRole(java.lang.String inTimestampRole,
int state)
Sets the TimestampRole Metadata State. |
void |
setTimestampRoleState(int state)
Sets the Metadata State of TimestampRole . |
void |
setTimeZone(java.lang.String inTimeZone)
Sets the TimeZone value and sets the state to MetadataState.LOCAL. |
void |
setTimeZone(java.lang.String inTimeZone,
int state)
Sets the TimeZone Metadata State. |
void |
setTimeZoneState(int state)
Sets the Metadata State of TimeZone . |
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_DATEANDTIME_NAME
DateandTime: This double contains a SAS datetime value.
static final java.lang.String ATTRIBUTE_TIMEZONE_NAME
TimeZone: This is the timezone used with the DateandTime attribute.
static final java.lang.String ATTRIBUTE_TIMESTAMPROLE_NAME
TimestampRole: This is the role of the Timestamp. Example roles are: Create, Modify, Expire.
static final java.lang.String ASSOCIATION_OBJECTS_NAME
Objects: The objects associated with this timestamp.
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
Objects
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.double getDateandTime() throws java.rmi.RemoteException
double
value of DateandTime
DateandTime
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getDateandTimeState() throws java.rmi.RemoteException
DateandTime
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getTimeZone() throws java.rmi.RemoteException
String
value of TimeZone
TimeZone
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTimeZoneState() throws java.rmi.RemoteException
TimeZone
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTimeZoneMaxLength() throws java.rmi.RemoteException
TimeZone
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getTimestampRole() throws java.rmi.RemoteException
String
value of TimestampRole
TimestampRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTimestampRoleState() throws java.rmi.RemoteException
TimestampRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getTimestampRoleMaxLength() throws java.rmi.RemoteException
TimestampRole
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getObjects() throws java.rmi.RemoteException, MdException
Objects
Objects
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 getObjects(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Objects
fGoToServer
- boolean Get the value from the server.
Objects
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 setDateandTime(double inDateandTime) throws java.rmi.RemoteException
DateandTime
value and sets the state to MetadataState.LOCAL.
inDateandTime
- double
java.rmi.RemoteException
- If error communicating with remote object.void setDateandTime(double inDateandTime, int state) throws java.rmi.RemoteException
DateandTime
Metadata State.
inDateandTime
- doublestate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDateandTime(java.lang.String inDateandTime) throws java.rmi.RemoteException
DateandTime
value and sets the state to MetadataState.LOCAL
inDateandTime
- String
java.rmi.RemoteException
- If error communicating with remote object.void setDateandTime(java.lang.String inDateandTime, int state) throws java.rmi.RemoteException
DateandTime
value and Metadata State.
inDateandTime
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDateandTimeState(int state) throws java.rmi.RemoteException
DateandTime
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTimeZone(java.lang.String inTimeZone) throws java.rmi.RemoteException
TimeZone
value and sets the state to MetadataState.LOCAL.
inTimeZone
- String
java.rmi.RemoteException
- If error communicating with remote object.void setTimeZone(java.lang.String inTimeZone, int state) throws java.rmi.RemoteException
TimeZone
Metadata State.
inTimeZone
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTimeZoneState(int state) throws java.rmi.RemoteException
TimeZone
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTimestampRole(java.lang.String inTimestampRole) throws java.rmi.RemoteException
TimestampRole
value and sets the state to MetadataState.LOCAL.
inTimestampRole
- String
java.rmi.RemoteException
- If error communicating with remote object.void setTimestampRole(java.lang.String inTimestampRole, int state) throws java.rmi.RemoteException
TimestampRole
Metadata State.
inTimestampRole
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTimestampRoleState(int state) throws java.rmi.RemoteException
TimestampRole
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setObjects(AssociationList list) throws java.rmi.RemoteException
Objects
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setObjects(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
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 |