|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface DeviceType
Defines a prototype for a specific supported device.
Attributes of DeviceType are:
Associations of DeviceType 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(); DeviceType myObject = (DeviceType) factory.createComplexMetadataObject(objectStore, "DeviceType_Object", MetadataObjects.DEVICETYPE, "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_CONTENTTYPES_NAME
Constant used for the name of the ContentTypes association. |
static java.lang.String |
ASSOCIATION_DEPLOYEDDEVICES_NAME
Constant used for the name of the DeployedDevices association. |
static java.lang.String |
ATTRIBUTE_BITDEPTH_NAME
Constant used for the name of the BitDepth attribute. |
static java.lang.String |
ATTRIBUTE_HEIGHT_NAME
Constant used for the name of the Height attribute. |
static java.lang.String |
ATTRIBUTE_ISCOLOR_NAME
Constant used for the name of the IsColor attribute. |
static java.lang.String |
ATTRIBUTE_WIDTH_NAME
Constant used for the name of the Width attribute. |
Fields inherited from interface com.sas.metadata.remote.PrimaryType |
---|
ASSOCIATION_FAVORITESCONTAINERS_NAME, ATTRIBUTE_ISHIDDEN_NAME, ATTRIBUTE_PUBLICTYPE_NAME |
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 | |
---|---|
int |
getBitDepth()
Gets the int value of BitDepth |
int |
getBitDepthState()
Gets the Metadata State of BitDepth |
AssociationList |
getContentTypes()
Gets the Association list of ContentTypes |
AssociationList |
getContentTypes(boolean fGoToServer)
Gets the Associationlist of ContentTypes |
AssociationList |
getDeployedDevices()
Gets the AssociationList of DeployedDevices |
AssociationList |
getDeployedDevices(boolean fGoToServer)
Gets the Associationlist of DeployedDevices |
int |
getHeight()
Gets the int value of Height |
int |
getHeightState()
Gets the Metadata State of Height |
int |
getIsColor()
Gets the int value of IsColor |
int |
getIsColorState()
Gets the Metadata State of IsColor |
int |
getWidth()
Gets the int value of Width |
int |
getWidthState()
Gets the Metadata State of Width |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: DeployedDevices |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setBitDepth(int inBitDepth)
Sets the BitDepth value and sets the state to MetadataState.LOCAL. |
void |
setBitDepth(int inBitDepth,
int state)
Sets the BitDepth Metadata State. |
void |
setBitDepth(java.lang.String inBitDepth)
Sets the BitDepth value and sets the state to MetadataState.LOCAL. |
void |
setBitDepth(java.lang.String inBitDepth,
int state)
Sets the BitDepth value and Metadata State. |
void |
setBitDepthState(int state)
Sets the Metadata State of BitDepth . |
void |
setContentTypes(AssociationList list)
Sets the ContentTypes list to be list . |
void |
setContentTypes(AssociationList inObjects,
int state)
Sets the entire ContentTypes list to match the passed in AssociationList, sets the state of the ContentTypes |
void |
setDeployedDevices(AssociationList list)
Sets the DeployedDevices list to be list . |
void |
setDeployedDevices(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setHeight(int inHeight)
Sets the Height value and sets the state to MetadataState.LOCAL. |
void |
setHeight(int inHeight,
int state)
Sets the Height Metadata State. |
void |
setHeight(java.lang.String inHeight)
Sets the Height value and sets the state to MetadataState.LOCAL. |
void |
setHeight(java.lang.String inHeight,
int state)
Sets the Height value and Metadata State. |
void |
setHeightState(int state)
Sets the Metadata State of Height . |
void |
setIsColor(int inIsColor)
Sets the IsColor value and sets the state to MetadataState.LOCAL. |
void |
setIsColor(int inIsColor,
int state)
Sets the IsColor Metadata State. |
void |
setIsColor(java.lang.String inIsColor)
Sets the IsColor value and sets the state to MetadataState.LOCAL. |
void |
setIsColor(java.lang.String inIsColor,
int state)
Sets the IsColor value and Metadata State. |
void |
setIsColorState(int state)
Sets the Metadata State of IsColor . |
void |
setWidth(int inWidth)
Sets the Width value and sets the state to MetadataState.LOCAL. |
void |
setWidth(int inWidth,
int state)
Sets the Width Metadata State. |
void |
setWidth(java.lang.String inWidth)
Sets the Width value and sets the state to MetadataState.LOCAL. |
void |
setWidth(java.lang.String inWidth,
int state)
Sets the Width value and Metadata State. |
void |
setWidthState(int state)
Sets the Metadata State of Width . |
Methods inherited from interface com.sas.metadata.remote.PrimaryType |
---|
getFavoritesContainers, getFavoritesContainers, getIsHidden, getIsHiddenState, getPublicType, getPublicTypeMaxLength, getPublicTypeState, setFavoritesContainers, setFavoritesContainers, setIsHidden, setIsHidden, setIsHidden, setIsHidden, setIsHiddenState, setPublicType, setPublicType, setPublicTypeState |
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_WIDTH_NAME
Width: Width supported by this device.
static final java.lang.String ATTRIBUTE_HEIGHT_NAME
Height: Height supported by this device.
static final java.lang.String ATTRIBUTE_ISCOLOR_NAME
IsColor: A boolean value that indicates whether this device supports color.
static final java.lang.String ATTRIBUTE_BITDEPTH_NAME
BitDepth: Bit depth supported by this device.
static final java.lang.String ASSOCIATION_DEPLOYEDDEVICES_NAME
DeployedDevices: Devices of this device type.
static final java.lang.String ASSOCIATION_CONTENTTYPES_NAME
ContentTypes: The content types that can be displayed by this device.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface MdObjectBaseUtil
initializeRequiredObjects
in interface PrimaryType
initializeRequiredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void initializePredObjects() throws java.rmi.RemoteException
DeployedDevices
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getWidth() throws java.rmi.RemoteException
int
value of Width
Width
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getWidthState() throws java.rmi.RemoteException
Width
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getHeight() throws java.rmi.RemoteException
int
value of Height
Height
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getHeightState() throws java.rmi.RemoteException
Height
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsColor() throws java.rmi.RemoteException
int
value of IsColor
IsColor
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getIsColorState() throws java.rmi.RemoteException
IsColor
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getBitDepth() throws java.rmi.RemoteException
int
value of BitDepth
BitDepth
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getBitDepthState() throws java.rmi.RemoteException
BitDepth
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getDeployedDevices() throws java.rmi.RemoteException, MdException
DeployedDevices
DeployedDevices
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 getContentTypes() throws java.rmi.RemoteException, MdException
ContentTypes
ContentTypes
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 getDeployedDevices(boolean fGoToServer) throws java.rmi.RemoteException, MdException
DeployedDevices
fGoToServer
- boolean Get the value from the server.
DeployedDevices
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 getContentTypes(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ContentTypes
fGoToServer
- boolean Get the value from the server.
ContentTypes
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 setWidth(int inWidth) throws java.rmi.RemoteException
Width
value and sets the state to MetadataState.LOCAL.
inWidth
- int
java.rmi.RemoteException
- If error communicating with remote object.void setWidth(int inWidth, int state) throws java.rmi.RemoteException
Width
Metadata State.
inWidth
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setWidth(java.lang.String inWidth) throws java.rmi.RemoteException
Width
value and sets the state to MetadataState.LOCAL.
inWidth
- String
java.rmi.RemoteException
- If error communicating with remote object.void setWidth(java.lang.String inWidth, int state) throws java.rmi.RemoteException
Width
value and Metadata State.
inWidth
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setWidthState(int state) throws java.rmi.RemoteException
Width
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setHeight(int inHeight) throws java.rmi.RemoteException
Height
value and sets the state to MetadataState.LOCAL.
inHeight
- int
java.rmi.RemoteException
- If error communicating with remote object.void setHeight(int inHeight, int state) throws java.rmi.RemoteException
Height
Metadata State.
inHeight
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setHeight(java.lang.String inHeight) throws java.rmi.RemoteException
Height
value and sets the state to MetadataState.LOCAL.
inHeight
- String
java.rmi.RemoteException
- If error communicating with remote object.void setHeight(java.lang.String inHeight, int state) throws java.rmi.RemoteException
Height
value and Metadata State.
inHeight
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setHeightState(int state) throws java.rmi.RemoteException
Height
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsColor(int inIsColor) throws java.rmi.RemoteException
IsColor
value and sets the state to MetadataState.LOCAL.
inIsColor
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsColor(int inIsColor, int state) throws java.rmi.RemoteException
IsColor
Metadata State.
inIsColor
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsColor(java.lang.String inIsColor) throws java.rmi.RemoteException
IsColor
value and sets the state to MetadataState.LOCAL.
inIsColor
- String
java.rmi.RemoteException
- If error communicating with remote object.void setIsColor(java.lang.String inIsColor, int state) throws java.rmi.RemoteException
IsColor
value and Metadata State.
inIsColor
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setIsColorState(int state) throws java.rmi.RemoteException
IsColor
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setBitDepth(int inBitDepth) throws java.rmi.RemoteException
BitDepth
value and sets the state to MetadataState.LOCAL.
inBitDepth
- int
java.rmi.RemoteException
- If error communicating with remote object.void setBitDepth(int inBitDepth, int state) throws java.rmi.RemoteException
BitDepth
Metadata State.
inBitDepth
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setBitDepth(java.lang.String inBitDepth) throws java.rmi.RemoteException
BitDepth
value and sets the state to MetadataState.LOCAL.
inBitDepth
- String
java.rmi.RemoteException
- If error communicating with remote object.void setBitDepth(java.lang.String inBitDepth, int state) throws java.rmi.RemoteException
BitDepth
value and Metadata State.
inBitDepth
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setBitDepthState(int state) throws java.rmi.RemoteException
BitDepth
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setDeployedDevices(AssociationList list) throws java.rmi.RemoteException
DeployedDevices
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setDeployedDevices(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setContentTypes(AssociationList list) throws java.rmi.RemoteException
ContentTypes
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setContentTypes(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 |