|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface SASLicense
Used to document the setinit information for SAS products.
Attributes of SASLicense are:
Expiration
CPUModelName
CPUModelNumber
CPUSerialNumber
LanguageCode
Language
ProductCode
ProductName
Associations of SASLicense 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(); SASLicense myObject = (SASLicense) factory.createComplexMetadataObject(objectStore, "SASLicense_Object", MetadataObjects.SASLICENSE, "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_LICENSEDCOMPONENT_NAME
Constant used for the name of the LicensedComponent association. |
static java.lang.String |
ATTRIBUTE_CPUMODELNAME_NAME
Constant used for the name of the CPUModelName attribute. |
static java.lang.String |
ATTRIBUTE_CPUMODELNUMBER_NAME
Constant used for the name of the CPUModelNumber attribute. |
static java.lang.String |
ATTRIBUTE_CPUSERIALNUMBER_NAME
Constant used for the name of the CPUSerialNumber attribute. |
static java.lang.String |
ATTRIBUTE_EXPIRATION_NAME
Constant used for the name of the Expiration attribute. |
static java.lang.String |
ATTRIBUTE_LANGUAGE_NAME
Constant used for the name of the Language attribute. |
static java.lang.String |
ATTRIBUTE_LANGUAGECODE_NAME
Constant used for the name of the LanguageCode attribute. |
static java.lang.String |
ATTRIBUTE_PRODUCTCODE_NAME
Constant used for the name of the ProductCode attribute. |
static java.lang.String |
ATTRIBUTE_PRODUCTNAME_NAME
Constant used for the name of the ProductName 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 | |
---|---|
java.lang.String |
getCPUModelName()
Gets the String value of CPUModelName |
int |
getCPUModelNameMaxLength()
Gets the maximum length of CPUModelName |
int |
getCPUModelNameState()
Gets the Metadata State of CPUModelName |
java.lang.String |
getCPUModelNumber()
Gets the String value of CPUModelNumber |
int |
getCPUModelNumberMaxLength()
Gets the maximum length of CPUModelNumber |
int |
getCPUModelNumberState()
Gets the Metadata State of CPUModelNumber |
java.lang.String |
getCPUSerialNumber()
Gets the String value of CPUSerialNumber |
int |
getCPUSerialNumberMaxLength()
Gets the maximum length of CPUSerialNumber |
int |
getCPUSerialNumberState()
Gets the Metadata State of CPUSerialNumber |
double |
getExpiration()
Gets the double value of Expiration |
int |
getExpirationState()
Gets the Metadata State of Expiration |
java.lang.String |
getLanguage()
Gets the String value of Language |
java.lang.String |
getLanguageCode()
Gets the String value of LanguageCode |
int |
getLanguageCodeMaxLength()
Gets the maximum length of LanguageCode |
int |
getLanguageCodeState()
Gets the Metadata State of LanguageCode |
int |
getLanguageMaxLength()
Gets the maximum length of Language |
int |
getLanguageState()
Gets the Metadata State of Language |
DeployedComponent |
getLicensedComponent()
Gets the DeployedComponent for LicensedComponent |
AssociationList |
getLicensedComponents()
Gets the AssociationList of LicensedComponents |
AssociationList |
getLicensedComponents(boolean fGoToServer)
Gets the Associationlist of LicensedComponents |
int |
getProductCode()
Gets the int value of ProductCode |
int |
getProductCodeState()
Gets the Metadata State of ProductCode |
java.lang.String |
getProductName()
Gets the String value of ProductName |
int |
getProductNameMaxLength()
Gets the maximum length of ProductName |
int |
getProductNameState()
Gets the Metadata State of ProductName |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: LicensedComponent |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setCPUModelName(java.lang.String inCPUModelName)
Sets the CPUModelName value and sets the state to MetadataState.LOCAL. |
void |
setCPUModelName(java.lang.String inCPUModelName,
int state)
Sets the CPUModelName Metadata State. |
void |
setCPUModelNameState(int state)
Sets the Metadata State of CPUModelName . |
void |
setCPUModelNumber(java.lang.String inCPUModelNumber)
Sets the CPUModelNumber value and sets the state to MetadataState.LOCAL. |
void |
setCPUModelNumber(java.lang.String inCPUModelNumber,
int state)
Sets the CPUModelNumber Metadata State. |
void |
setCPUModelNumberState(int state)
Sets the Metadata State of CPUModelNumber . |
void |
setCPUSerialNumber(java.lang.String inCPUSerialNumber)
Sets the CPUSerialNumber value and sets the state to MetadataState.LOCAL. |
void |
setCPUSerialNumber(java.lang.String inCPUSerialNumber,
int state)
Sets the CPUSerialNumber Metadata State. |
void |
setCPUSerialNumberState(int state)
Sets the Metadata State of CPUSerialNumber . |
void |
setExpiration(double inExpiration)
Sets the Expiration value and sets the state to MetadataState.LOCAL. |
void |
setExpiration(double inExpiration,
int state)
Sets the Expiration Metadata State. |
void |
setExpiration(java.lang.String inExpiration)
Sets the Expiration value and sets the state to MetadataState.LOCAL |
void |
setExpiration(java.lang.String inExpiration,
int state)
Sets the Expiration value and Metadata State. |
void |
setExpirationState(int state)
Sets the Metadata State of Expiration . |
void |
setLanguage(java.lang.String inLanguage)
Sets the Language value and sets the state to MetadataState.LOCAL. |
void |
setLanguage(java.lang.String inLanguage,
int state)
Sets the Language Metadata State. |
void |
setLanguageCode(java.lang.String inLanguageCode)
Sets the LanguageCode value and sets the state to MetadataState.LOCAL. |
void |
setLanguageCode(java.lang.String inLanguageCode,
int state)
Sets the LanguageCode Metadata State. |
void |
setLanguageCodeState(int state)
Sets the Metadata State of LanguageCode . |
void |
setLanguageState(int state)
Sets the Metadata State of Language . |
void |
setLicensedComponent(DeployedComponent inObject)
Sets the LicensedComponents list 0th element to be inObject . |
void |
setLicensedComponents(AssociationList list)
Sets the LicensedComponents list to be list . |
void |
setLicensedComponents(AssociationList list,
int state)
Sets the LicensedComponents list to be list . |
void |
setProductCode(int inProductCode)
Sets the ProductCode value and sets the state to MetadataState.LOCAL. |
void |
setProductCode(int inProductCode,
int state)
Sets the ProductCode Metadata State. |
void |
setProductCode(java.lang.String inProductCode)
Sets the ProductCode value and sets the state to MetadataState.LOCAL. |
void |
setProductCode(java.lang.String inProductCode,
int state)
Sets the ProductCode value and Metadata State. |
void |
setProductCodeState(int state)
Sets the Metadata State of ProductCode . |
void |
setProductName(java.lang.String inProductName)
Sets the ProductName value and sets the state to MetadataState.LOCAL. |
void |
setProductName(java.lang.String inProductName,
int state)
Sets the ProductName Metadata State. |
void |
setProductNameState(int state)
Sets the Metadata State of ProductName . |
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_EXPIRATION_NAME
Expiration: The date this SASLicense expires.
static final java.lang.String ATTRIBUTE_CPUMODELNAME_NAME
CPUModelName: CPU Model Name
static final java.lang.String ATTRIBUTE_CPUMODELNUMBER_NAME
CPUModelNumber: CPU Model Number
static final java.lang.String ATTRIBUTE_CPUSERIALNUMBER_NAME
CPUSerialNumber: CPU Serial Number
static final java.lang.String ATTRIBUTE_LANGUAGECODE_NAME
LanguageCode: Code for the language that is licensed.
static final java.lang.String ATTRIBUTE_LANGUAGE_NAME
Language: The language that is licensed.
static final java.lang.String ATTRIBUTE_PRODUCTCODE_NAME
ProductCode: The code for the product being licensed.
static final java.lang.String ATTRIBUTE_PRODUCTNAME_NAME
ProductName: The name of the product being licensed.
static final java.lang.String ASSOCIATION_LICENSEDCOMPONENT_NAME
LicensedComponent: The component this SASLicense is licensing.
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
LicensedComponent
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.double getExpiration() throws java.rmi.RemoteException
double
value of Expiration
Expiration
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getExpirationState() throws java.rmi.RemoteException
Expiration
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getCPUModelName() throws java.rmi.RemoteException
String
value of CPUModelName
CPUModelName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCPUModelNameState() throws java.rmi.RemoteException
CPUModelName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCPUModelNameMaxLength() throws java.rmi.RemoteException
CPUModelName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getCPUModelNumber() throws java.rmi.RemoteException
String
value of CPUModelNumber
CPUModelNumber
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCPUModelNumberState() throws java.rmi.RemoteException
CPUModelNumber
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCPUModelNumberMaxLength() throws java.rmi.RemoteException
CPUModelNumber
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getCPUSerialNumber() throws java.rmi.RemoteException
String
value of CPUSerialNumber
CPUSerialNumber
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCPUSerialNumberState() throws java.rmi.RemoteException
CPUSerialNumber
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getCPUSerialNumberMaxLength() throws java.rmi.RemoteException
CPUSerialNumber
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getLanguageCode() throws java.rmi.RemoteException
String
value of LanguageCode
LanguageCode
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getLanguageCodeState() throws java.rmi.RemoteException
LanguageCode
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getLanguageCodeMaxLength() throws java.rmi.RemoteException
LanguageCode
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getLanguage() throws java.rmi.RemoteException
String
value of Language
Language
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getLanguageState() throws java.rmi.RemoteException
Language
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getLanguageMaxLength() throws java.rmi.RemoteException
Language
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getProductCode() throws java.rmi.RemoteException
int
value of ProductCode
ProductCode
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getProductCodeState() throws java.rmi.RemoteException
ProductCode
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getProductName() throws java.rmi.RemoteException
String
value of ProductName
ProductName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getProductNameState() throws java.rmi.RemoteException
ProductName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getProductNameMaxLength() throws java.rmi.RemoteException
ProductName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getLicensedComponents() throws java.rmi.RemoteException, MdException
LicensedComponents
LicensedComponents
which can be of type: java.rmi.RemoteException
- If error connecting/communicating to/with remote object.
MdException
DeployedComponent getLicensedComponent() throws java.rmi.RemoteException, MdException
DeployedComponent
for LicensedComponent
DeployedComponent
( null
if not set) of LicensedComponent
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 getLicensedComponents(boolean fGoToServer) throws java.rmi.RemoteException, MdException
LicensedComponents
fGoToServer
- boolean Get the value from the server.
LicensedComponents
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 setExpiration(double inExpiration) throws java.rmi.RemoteException
Expiration
value and sets the state to MetadataState.LOCAL.
inExpiration
- double
java.rmi.RemoteException
- If error communicating with remote object.void setExpiration(double inExpiration, int state) throws java.rmi.RemoteException
Expiration
Metadata State.
inExpiration
- doublestate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setExpiration(java.lang.String inExpiration) throws java.rmi.RemoteException
Expiration
value and sets the state to MetadataState.LOCAL
inExpiration
- String
java.rmi.RemoteException
- If error communicating with remote object.void setExpiration(java.lang.String inExpiration, int state) throws java.rmi.RemoteException
Expiration
value and Metadata State.
inExpiration
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setExpirationState(int state) throws java.rmi.RemoteException
Expiration
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCPUModelName(java.lang.String inCPUModelName) throws java.rmi.RemoteException
CPUModelName
value and sets the state to MetadataState.LOCAL.
inCPUModelName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setCPUModelName(java.lang.String inCPUModelName, int state) throws java.rmi.RemoteException
CPUModelName
Metadata State.
inCPUModelName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCPUModelNameState(int state) throws java.rmi.RemoteException
CPUModelName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCPUModelNumber(java.lang.String inCPUModelNumber) throws java.rmi.RemoteException
CPUModelNumber
value and sets the state to MetadataState.LOCAL.
inCPUModelNumber
- String
java.rmi.RemoteException
- If error communicating with remote object.void setCPUModelNumber(java.lang.String inCPUModelNumber, int state) throws java.rmi.RemoteException
CPUModelNumber
Metadata State.
inCPUModelNumber
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCPUModelNumberState(int state) throws java.rmi.RemoteException
CPUModelNumber
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCPUSerialNumber(java.lang.String inCPUSerialNumber) throws java.rmi.RemoteException
CPUSerialNumber
value and sets the state to MetadataState.LOCAL.
inCPUSerialNumber
- String
java.rmi.RemoteException
- If error communicating with remote object.void setCPUSerialNumber(java.lang.String inCPUSerialNumber, int state) throws java.rmi.RemoteException
CPUSerialNumber
Metadata State.
inCPUSerialNumber
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCPUSerialNumberState(int state) throws java.rmi.RemoteException
CPUSerialNumber
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLanguageCode(java.lang.String inLanguageCode) throws java.rmi.RemoteException
LanguageCode
value and sets the state to MetadataState.LOCAL.
inLanguageCode
- String
java.rmi.RemoteException
- If error communicating with remote object.void setLanguageCode(java.lang.String inLanguageCode, int state) throws java.rmi.RemoteException
LanguageCode
Metadata State.
inLanguageCode
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLanguageCodeState(int state) throws java.rmi.RemoteException
LanguageCode
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLanguage(java.lang.String inLanguage) throws java.rmi.RemoteException
Language
value and sets the state to MetadataState.LOCAL.
inLanguage
- String
java.rmi.RemoteException
- If error communicating with remote object.void setLanguage(java.lang.String inLanguage, int state) throws java.rmi.RemoteException
Language
Metadata State.
inLanguage
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLanguageState(int state) throws java.rmi.RemoteException
Language
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setProductCode(int inProductCode) throws java.rmi.RemoteException
ProductCode
value and sets the state to MetadataState.LOCAL.
inProductCode
- int
java.rmi.RemoteException
- If error communicating with remote object.void setProductCode(int inProductCode, int state) throws java.rmi.RemoteException
ProductCode
Metadata State.
inProductCode
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setProductCode(java.lang.String inProductCode) throws java.rmi.RemoteException
ProductCode
value and sets the state to MetadataState.LOCAL.
inProductCode
- String
java.rmi.RemoteException
- If error communicating with remote object.void setProductCode(java.lang.String inProductCode, int state) throws java.rmi.RemoteException
ProductCode
value and Metadata State.
inProductCode
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setProductCodeState(int state) throws java.rmi.RemoteException
ProductCode
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setProductName(java.lang.String inProductName) throws java.rmi.RemoteException
ProductName
value and sets the state to MetadataState.LOCAL.
inProductName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setProductName(java.lang.String inProductName, int state) throws java.rmi.RemoteException
ProductName
Metadata State.
inProductName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setProductNameState(int state) throws java.rmi.RemoteException
ProductName
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLicensedComponents(AssociationList list) throws java.rmi.RemoteException
LicensedComponents
list to be list
. Object of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setLicensedComponents(AssociationList list, int state) throws java.rmi.RemoteException
LicensedComponents
list to be list
. Object of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setLicensedComponent(DeployedComponent inObject) throws java.rmi.RemoteException
LicensedComponents
list 0th element to be inObject
.
inObject
- DeployedComponent
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 |