|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface PropertyType
Defines the data type of a property. Beginning with SAS 9.2, PropertyType is no longer a shared resource; instead, it is contained by the Property object that it helps to define. PropertyType is no longer considered to be an owning type. The SQL type of a Property object is now recorded in the SQLType= attribute of the Property object. Use PropertyType when the SQL type is set to other, 1111, or array, 2003 and more detail is needed to describe the type.
Attributes of PropertyType are:
Associations of PropertyType are:
ArrayTypes
Customizers
Editors
ElementType
StoredConfiguration
TypedAttProperties
TypedProperties
Validators
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(); PropertyType myObject = (PropertyType) factory.createComplexMetadataObject(objectStore, "PropertyType_Object", MetadataObjects.PROPERTYTYPE, "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_ARRAYTYPES_NAME
Constant used for the name of the ArrayTypes association. |
static java.lang.String |
ASSOCIATION_CUSTOMIZERS_NAME
Constant used for the name of the Customizers association. |
static java.lang.String |
ASSOCIATION_EDITORS_NAME
Constant used for the name of the Editors association. |
static java.lang.String |
ASSOCIATION_ELEMENTTYPE_NAME
Constant used for the name of the ElementType association. |
static java.lang.String |
ASSOCIATION_STOREDCONFIGURATION_NAME
Constant used for the name of the StoredConfiguration association. |
static java.lang.String |
ASSOCIATION_TYPEDATTPROPERTIES_NAME
Constant used for the name of the TypedAttProperties association. |
static java.lang.String |
ASSOCIATION_TYPEDPROPERTIES_NAME
Constant used for the name of the TypedProperties association. |
static java.lang.String |
ASSOCIATION_VALIDATORS_NAME
Constant used for the name of the Validators association. |
static java.lang.String |
ATTRIBUTE_SQLTYPE_NAME
Constant used for the name of the SQLType attribute. |
Fields inherited from interface com.sas.metadata.remote.LocalizedType |
---|
ASSOCIATION_RESOURCES_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 | |
---|---|
AssociationList |
getArrayTypes()
Gets the AssociationList of ArrayTypes |
AssociationList |
getArrayTypes(boolean fGoToServer)
Gets the Associationlist of ArrayTypes |
AssociationList |
getCustomizers()
Gets the Association list of Customizers |
AssociationList |
getCustomizers(boolean fGoToServer)
Gets the Associationlist of Customizers |
AssociationList |
getEditors()
Gets the Association list of Editors |
AssociationList |
getEditors(boolean fGoToServer)
Gets the Associationlist of Editors |
PropertyType |
getElementType()
Gets the PropertyType for ElementType |
AssociationList |
getElementTypes()
Gets the Association list of ElementTypes |
AssociationList |
getElementTypes(boolean fGoToServer)
Gets the Associationlist of ElementTypes |
int |
getSQLType()
Gets the int value of SQLType |
int |
getSQLTypeState()
Gets the Metadata State of SQLType |
Text |
getStoredConfiguration()
Gets the Text for StoredConfiguration |
AssociationList |
getStoredConfigurations()
Gets the Association list of StoredConfigurations |
AssociationList |
getStoredConfigurations(boolean fGoToServer)
Gets the Associationlist of StoredConfigurations |
AssociationList |
getTypedAttProperties()
Gets the Association list of TypedAttProperties |
AssociationList |
getTypedAttProperties(boolean fGoToServer)
Gets the Associationlist of TypedAttProperties |
AssociationList |
getTypedProperties()
Gets the Association list of TypedProperties |
AssociationList |
getTypedProperties(boolean fGoToServer)
Gets the Associationlist of TypedProperties |
AssociationList |
getValidators()
Gets the Association list of Validators |
AssociationList |
getValidators(boolean fGoToServer)
Gets the Associationlist of Validators |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: ArrayTypes |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setArrayTypes(AssociationList list)
Sets the ArrayTypes list to be list . |
void |
setArrayTypes(AssociationList inObjects,
int state)
Sets the entire AssociationList to match the passed in Vector, sets the state of the AssociationList |
void |
setCustomizers(AssociationList list)
Sets the Customizers list to be list . |
void |
setCustomizers(AssociationList inObjects,
int state)
Sets the entire Customizers list to match the passed in AssociationList, sets the state of the Customizers |
void |
setEditors(AssociationList list)
Sets the Editors list to be list . |
void |
setEditors(AssociationList inObjects,
int state)
Sets the entire Editors list to match the passed in AssociationList, sets the state of the Editors |
void |
setElementType(PropertyType inObject)
Sets the ElementTypes list 0th element to be inObject . |
void |
setElementTypes(AssociationList list)
Sets the ElementTypes list to be list . |
void |
setElementTypes(AssociationList list,
int state)
Sets the ElementTypes list to be list . |
void |
setSQLType(int inSQLType)
Sets the SQLType value and sets the state to MetadataState.LOCAL. |
void |
setSQLType(int inSQLType,
int state)
Sets the SQLType Metadata State. |
void |
setSQLType(java.lang.String inSQLType)
Sets the SQLType value and sets the state to MetadataState.LOCAL. |
void |
setSQLType(java.lang.String inSQLType,
int state)
Sets the SQLType value and Metadata State. |
void |
setSQLTypeState(int state)
Sets the Metadata State of SQLType . |
void |
setStoredConfiguration(Text inObject)
Sets the StoredConfigurations list 0th element to be inObject . |
void |
setStoredConfigurations(AssociationList list)
Sets the StoredConfigurations list to be list . |
void |
setStoredConfigurations(AssociationList list,
int state)
Sets the StoredConfigurations list to be list . |
void |
setTypedAttProperties(AssociationList list)
Sets the TypedAttProperties list to be list . |
void |
setTypedAttProperties(AssociationList inObjects,
int state)
Sets the entire TypedAttProperties list to match the passed in AssociationList, sets the state of the TypedAttProperties |
void |
setTypedProperties(AssociationList list)
Sets the TypedProperties list to be list . |
void |
setTypedProperties(AssociationList inObjects,
int state)
Sets the entire TypedProperties list to match the passed in AssociationList, sets the state of the TypedProperties |
void |
setValidators(AssociationList list)
Sets the Validators list to be list . |
void |
setValidators(AssociationList inObjects,
int state)
Sets the entire Validators list to match the passed in AssociationList, sets the state of the Validators |
Methods inherited from interface com.sas.metadata.remote.LocalizedType |
---|
getResources, getResources, setResources, setResources |
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_SQLTYPE_NAME
SQLType: This is an integer value that identifies the SQL type of the data.
static final java.lang.String ASSOCIATION_ARRAYTYPES_NAME
ArrayTypes: The arrays that use this PropertyType.
static final java.lang.String ASSOCIATION_CUSTOMIZERS_NAME
Customizers: The programs used to customize this object. A customizer is a standalone editor used to customize or edit a value. It does not reside inside a UI element as an editor does, but defines it's own window. If none exists on the entity, the customizer of the property type is returned.
static final java.lang.String ASSOCIATION_EDITORS_NAME
Editors: The programs that can edit this object. The editor is a component that can be placed inside a UI container, such as a property sheet, and that edits the property value.
static final java.lang.String ASSOCIATION_ELEMENTTYPE_NAME
ElementType: The PropertyType used in this array.
static final java.lang.String ASSOCIATION_STOREDCONFIGURATION_NAME
StoredConfiguration: The configuration information for this object.
static final java.lang.String ASSOCIATION_TYPEDATTPROPERTIES_NAME
TypedAttProperties: The attribute properties that are of this type.
static final java.lang.String ASSOCIATION_TYPEDPROPERTIES_NAME
TypedProperties: The properties that are of this type.
static final java.lang.String ASSOCIATION_VALIDATORS_NAME
Validators: The programs used to validate the value of this PropertyType.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface LocalizedType
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
ArrayTypes
initializePredObjects
in interface LocalizedType
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface Root
initializePredObjects
in interface SecondaryType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSQLType() throws java.rmi.RemoteException
int
value of SQLType
SQLType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSQLTypeState() throws java.rmi.RemoteException
SQLType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.AssociationList getArrayTypes() throws java.rmi.RemoteException, MdException
ArrayTypes
ArrayTypes
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 getCustomizers() throws java.rmi.RemoteException, MdException
Customizers
Customizers
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 getEditors() throws java.rmi.RemoteException, MdException
Editors
Editors
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 getElementTypes() throws java.rmi.RemoteException, MdException
ElementTypes
ElementTypes
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.PropertyType getElementType() throws java.rmi.RemoteException, MdException
PropertyType
for ElementType
PropertyType
( null
if not set ) of ElementType
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 getStoredConfigurations() throws java.rmi.RemoteException, MdException
StoredConfigurations
StoredConfigurations
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.Text getStoredConfiguration() throws java.rmi.RemoteException, MdException
Text
for StoredConfiguration
Text
( null
if not set ) of StoredConfiguration
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 getTypedAttProperties() throws java.rmi.RemoteException, MdException
TypedAttProperties
TypedAttProperties
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 getTypedProperties() throws java.rmi.RemoteException, MdException
TypedProperties
TypedProperties
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 getValidators() throws java.rmi.RemoteException, MdException
Validators
Validators
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 getArrayTypes(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ArrayTypes
fGoToServer
- boolean Get the value from the server.
ArrayTypes
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 getCustomizers(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Customizers
fGoToServer
- boolean Get the value from the server.
Customizers
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 getEditors(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Editors
fGoToServer
- boolean Get the value from the server.
Editors
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 getElementTypes(boolean fGoToServer) throws java.rmi.RemoteException, MdException
ElementTypes
fGoToServer
- boolean Get the value from the server.
ElementTypes
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 getStoredConfigurations(boolean fGoToServer) throws java.rmi.RemoteException, MdException
StoredConfigurations
fGoToServer
- boolean Get the value from the server.
StoredConfigurations
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 getTypedAttProperties(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TypedAttProperties
fGoToServer
- boolean Get the value from the server.
TypedAttProperties
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 getTypedProperties(boolean fGoToServer) throws java.rmi.RemoteException, MdException
TypedProperties
fGoToServer
- boolean Get the value from the server.
TypedProperties
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 getValidators(boolean fGoToServer) throws java.rmi.RemoteException, MdException
Validators
fGoToServer
- boolean Get the value from the server.
Validators
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 setSQLType(int inSQLType) throws java.rmi.RemoteException
SQLType
value and sets the state to MetadataState.LOCAL.
inSQLType
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSQLType(int inSQLType, int state) throws java.rmi.RemoteException
SQLType
Metadata State.
inSQLType
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSQLType(java.lang.String inSQLType) throws java.rmi.RemoteException
SQLType
value and sets the state to MetadataState.LOCAL.
inSQLType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSQLType(java.lang.String inSQLType, int state) throws java.rmi.RemoteException
SQLType
value and Metadata State.
inSQLType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSQLTypeState(int state) throws java.rmi.RemoteException
SQLType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setArrayTypes(AssociationList list) throws java.rmi.RemoteException
ArrayTypes
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setArrayTypes(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setCustomizers(AssociationList list) throws java.rmi.RemoteException
Customizers
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setCustomizers(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setEditors(AssociationList list) throws java.rmi.RemoteException
Editors
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setEditors(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setElementTypes(AssociationList list) throws java.rmi.RemoteException
ElementTypes
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setElementTypes(AssociationList list, int state) throws java.rmi.RemoteException
ElementTypes
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setElementType(PropertyType inObject) throws java.rmi.RemoteException
ElementTypes
list 0th element to be inObject
.
inObject
- PropertyType
java.rmi.RemoteException
- If error communicating with remote object.void setStoredConfigurations(AssociationList list) throws java.rmi.RemoteException
StoredConfigurations
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setStoredConfigurations(AssociationList list, int state) throws java.rmi.RemoteException
StoredConfigurations
list to be list
. Objects of which can be of type:
list
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setStoredConfiguration(Text inObject) throws java.rmi.RemoteException
StoredConfigurations
list 0th element to be inObject
.
inObject
- Text
java.rmi.RemoteException
- If error communicating with remote object.void setTypedAttProperties(AssociationList list) throws java.rmi.RemoteException
TypedAttProperties
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTypedAttProperties(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setTypedProperties(AssociationList list) throws java.rmi.RemoteException
TypedProperties
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setTypedProperties(AssociationList inObjects, int state) throws java.rmi.RemoteException
inObjects
- AssociationListstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setValidators(AssociationList list) throws java.rmi.RemoteException
Validators
list to be list
. Objects of which can be of type:
list
- AssociationList
java.rmi.RemoteException
- If error communicating with remote object.void setValidators(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 |