|
| Metadata |
|
| |||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||||||
public interface AbstractProperty
Used to contain name/value pairs.
The AbstractProperty metadata type defines attributes and associations that are common to all of the property types; however, as a supertype, it should not be instantiated. When defining a metadata object to contain an actual name/value pair, use the Property metadata type or one of the other property metadata types, depending on the usage goal.Attributes of AbstractProperty are:
Associations of AbstractProperty 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(); AbstractProperty myObject = (AbstractProperty) factory.createComplexMetadataObject(objectStore, "AbstractProperty_Object", MetadataObjects.ABSTRACTPROPERTY, "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_ASSOCIATEDPROPERTYGROUP_NAME
Constant used for the name of the AssociatedPropertyGroup 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_STOREDCONFIGURATION_NAME
Constant used for the name of the StoredConfiguration association. |
static java.lang.String |
ASSOCIATION_VALIDATORS_NAME
Constant used for the name of the Validators association. |
static java.lang.String |
ATTRIBUTE_ISEXPERT_NAME
Constant used for the name of the IsExpert attribute. |
static java.lang.String |
ATTRIBUTE_ISLINKED_NAME
Constant used for the name of the IsLinked attribute. |
static java.lang.String |
ATTRIBUTE_ISREQUIRED_NAME
Constant used for the name of the IsRequired attribute. |
static java.lang.String |
ATTRIBUTE_ISUPDATEABLE_NAME
Constant used for the name of the IsUpdateable attribute. |
static java.lang.String |
ATTRIBUTE_ISVISIBLE_NAME
Constant used for the name of the IsVisible 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 | |
|---|---|
PropertyGroup |
getAssociatedPropertyGroup()
Gets the PropertyGroup for AssociatedPropertyGroup |
AssociationList |
getAssociatedPropertyGroups()
Gets the AssociationList of AssociatedPropertyGroups |
AssociationList |
getAssociatedPropertyGroups(boolean fGoToServer)
Gets the Associationlist of AssociatedPropertyGroups |
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 |
int |
getIsExpert()
Gets the int value of IsExpert |
int |
getIsExpertState()
Gets the Metadata State of IsExpert |
int |
getIsLinked()
Gets the int value of IsLinked |
int |
getIsLinkedState()
Gets the Metadata State of IsLinked |
int |
getIsRequired()
Gets the int value of IsRequired |
int |
getIsRequiredState()
Gets the Metadata State of IsRequired |
int |
getIsUpdateable()
Gets the int value of IsUpdateable |
int |
getIsUpdateableState()
Gets the Metadata State of IsUpdateable |
int |
getIsVisible()
Gets the int value of IsVisible |
int |
getIsVisibleState()
Gets the Metadata State of IsVisible |
Text |
getStoredConfiguration()
Gets the Text for StoredConfiguration |
AssociationList |
getStoredConfigurations()
Gets the AssociationList of StoredConfigurations |
AssociationList |
getStoredConfigurations(boolean fGoToServer)
Gets the Associationlist of StoredConfigurations |
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: AssociatedPropertyGroupStoredConfiguration |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setAssociatedPropertyGroup(PropertyGroup inObject)
Sets the AssociatedPropertyGroups list 0th element to be inObject. |
void |
setAssociatedPropertyGroups(AssociationList list)
Sets the AssociatedPropertyGroups list to be list. |
void |
setAssociatedPropertyGroups(AssociationList list,
int state)
Sets the AssociatedPropertyGroups list to be list. |
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 |
setIsExpert(int inIsExpert)
Sets the IsExpert value and sets the state to MetadataState.LOCAL. |
void |
setIsExpert(int inIsExpert,
int state)
Sets the IsExpert Metadata State. |
void |
setIsExpert(java.lang.String inIsExpert)
Sets the IsExpert value and sets the state to MetadataState.LOCAL. |
void |
setIsExpert(java.lang.String inIsExpert,
int state)
Sets the IsExpert value and Metadata State. |
void |
setIsExpertState(int state)
Sets the Metadata State of IsExpert. |
void |
setIsLinked(int inIsLinked)
Sets the IsLinked value and sets the state to MetadataState.LOCAL. |
void |
setIsLinked(int inIsLinked,
int state)
Sets the IsLinked Metadata State. |
void |
setIsLinked(java.lang.String inIsLinked)
Sets the IsLinked value and sets the state to MetadataState.LOCAL. |
void |
setIsLinked(java.lang.String inIsLinked,
int state)
Sets the IsLinked value and Metadata State. |
void |
setIsLinkedState(int state)
Sets the Metadata State of IsLinked. |
void |
setIsRequired(int inIsRequired)
Sets the IsRequired value and sets the state to MetadataState.LOCAL. |
void |
setIsRequired(int inIsRequired,
int state)
Sets the IsRequired Metadata State. |
void |
setIsRequired(java.lang.String inIsRequired)
Sets the IsRequired value and sets the state to MetadataState.LOCAL. |
void |
setIsRequired(java.lang.String inIsRequired,
int state)
Sets the IsRequired value and Metadata State. |
void |
setIsRequiredState(int state)
Sets the Metadata State of IsRequired. |
void |
setIsUpdateable(int inIsUpdateable)
Sets the IsUpdateable value and sets the state to MetadataState.LOCAL. |
void |
setIsUpdateable(int inIsUpdateable,
int state)
Sets the IsUpdateable Metadata State. |
void |
setIsUpdateable(java.lang.String inIsUpdateable)
Sets the IsUpdateable value and sets the state to MetadataState.LOCAL. |
void |
setIsUpdateable(java.lang.String inIsUpdateable,
int state)
Sets the IsUpdateable value and Metadata State. |
void |
setIsUpdateableState(int state)
Sets the Metadata State of IsUpdateable. |
void |
setIsVisible(int inIsVisible)
Sets the IsVisible value and sets the state to MetadataState.LOCAL. |
void |
setIsVisible(int inIsVisible,
int state)
Sets the IsVisible Metadata State. |
void |
setIsVisible(java.lang.String inIsVisible)
Sets the IsVisible value and sets the state to MetadataState.LOCAL. |
void |
setIsVisible(java.lang.String inIsVisible,
int state)
Sets the IsVisible value and Metadata State. |
void |
setIsVisibleState(int state)
Sets the Metadata State of IsVisible. |
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 |
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_ISVISIBLE_NAME
IsVisible: Should this property be displayed in a UI?
static final java.lang.String ATTRIBUTE_ISUPDATEABLE_NAME
IsUpdateable: Can this property be updated?
static final java.lang.String ATTRIBUTE_ISEXPERT_NAME
IsExpert: Should the property be available only to expert users?
static final java.lang.String ATTRIBUTE_ISREQUIRED_NAME
IsRequired: Is this parameter required?
static final java.lang.String ATTRIBUTE_ISLINKED_NAME
IsLinked: IsLinked
static final java.lang.String ASSOCIATION_ASSOCIATEDPROPERTYGROUP_NAME
AssociatedPropertyGroup: The group that contains these properties.
static final java.lang.String ASSOCIATION_STOREDCONFIGURATION_NAME
StoredConfiguration: The configuration information for this object.
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 property. 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_VALIDATORS_NAME
Validators: The programs that can validate the value of this property.
| Method Detail |
|---|
void initializeRequiredObjects()
throws java.rmi.RemoteException
initializeRequiredObjects in interface LocalizedTypeinitializeRequiredObjects in interface MdObjectBaseUtilinitializeRequiredObjects in interface RootinitializeRequiredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
void initializePredObjects()
throws java.rmi.RemoteException
AssociatedPropertyGroupStoredConfiguration
initializePredObjects in interface LocalizedTypeinitializePredObjects in interface MdObjectBaseinitializePredObjects in interface RootinitializePredObjects in interface SecondaryTypejava.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsVisible()
throws java.rmi.RemoteException
int value of IsVisible
IsVisible
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsVisibleState()
throws java.rmi.RemoteException
IsVisible
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsUpdateable()
throws java.rmi.RemoteException
int value of IsUpdateable
IsUpdateable
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsUpdateableState()
throws java.rmi.RemoteException
IsUpdateable
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsExpert()
throws java.rmi.RemoteException
int value of IsExpert
IsExpert
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsExpertState()
throws java.rmi.RemoteException
IsExpert
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsRequired()
throws java.rmi.RemoteException
int value of IsRequired
IsRequired
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsRequiredState()
throws java.rmi.RemoteException
IsRequired
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsLinked()
throws java.rmi.RemoteException
int value of IsLinked
IsLinked
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
int getIsLinkedState()
throws java.rmi.RemoteException
IsLinked
java.rmi.RemoteException - If error connecting/communicating to/with remote object.
AssociationList getAssociatedPropertyGroups()
throws java.rmi.RemoteException,
MdException
AssociatedPropertyGroups
AssociatedPropertyGroups which can be of type: java.rmi.RemoteException - If error connecting/communicating to/with remote object.
MdException
PropertyGroup getAssociatedPropertyGroup()
throws java.rmi.RemoteException,
MdException
PropertyGroup for AssociatedPropertyGroup
PropertyGroup ( null if not set) of AssociatedPropertyGroupwhich 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
Text getStoredConfiguration()
throws java.rmi.RemoteException,
MdException
Text for StoredConfiguration
Text ( null if not set) of StoredConfigurationwhich 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 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 getAssociatedPropertyGroups(boolean fGoToServer)
throws java.rmi.RemoteException,
MdException
AssociatedPropertyGroups
fGoToServer - boolean Get the value from the server.
AssociatedPropertyGroups 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 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 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 setIsVisible(int inIsVisible)
throws java.rmi.RemoteException
IsVisible value and sets the state to MetadataState.LOCAL.
inIsVisible - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsVisible(int inIsVisible,
int state)
throws java.rmi.RemoteException
IsVisible Metadata State.
inIsVisible - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsVisible(java.lang.String inIsVisible)
throws java.rmi.RemoteException
IsVisible value and sets the state to MetadataState.LOCAL.
inIsVisible - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsVisible(java.lang.String inIsVisible,
int state)
throws java.rmi.RemoteException
IsVisible value and Metadata State.
inIsVisible - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsVisibleState(int state)
throws java.rmi.RemoteException
IsVisible.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsUpdateable(int inIsUpdateable)
throws java.rmi.RemoteException
IsUpdateable value and sets the state to MetadataState.LOCAL.
inIsUpdateable - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsUpdateable(int inIsUpdateable,
int state)
throws java.rmi.RemoteException
IsUpdateable Metadata State.
inIsUpdateable - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsUpdateable(java.lang.String inIsUpdateable)
throws java.rmi.RemoteException
IsUpdateable value and sets the state to MetadataState.LOCAL.
inIsUpdateable - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsUpdateable(java.lang.String inIsUpdateable,
int state)
throws java.rmi.RemoteException
IsUpdateable value and Metadata State.
inIsUpdateable - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsUpdateableState(int state)
throws java.rmi.RemoteException
IsUpdateable.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsExpert(int inIsExpert)
throws java.rmi.RemoteException
IsExpert value and sets the state to MetadataState.LOCAL.
inIsExpert - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsExpert(int inIsExpert,
int state)
throws java.rmi.RemoteException
IsExpert Metadata State.
inIsExpert - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsExpert(java.lang.String inIsExpert)
throws java.rmi.RemoteException
IsExpert value and sets the state to MetadataState.LOCAL.
inIsExpert - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsExpert(java.lang.String inIsExpert,
int state)
throws java.rmi.RemoteException
IsExpert value and Metadata State.
inIsExpert - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsExpertState(int state)
throws java.rmi.RemoteException
IsExpert.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsRequired(int inIsRequired)
throws java.rmi.RemoteException
IsRequired value and sets the state to MetadataState.LOCAL.
inIsRequired - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsRequired(int inIsRequired,
int state)
throws java.rmi.RemoteException
IsRequired Metadata State.
inIsRequired - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsRequired(java.lang.String inIsRequired)
throws java.rmi.RemoteException
IsRequired value and sets the state to MetadataState.LOCAL.
inIsRequired - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsRequired(java.lang.String inIsRequired,
int state)
throws java.rmi.RemoteException
IsRequired value and Metadata State.
inIsRequired - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsRequiredState(int state)
throws java.rmi.RemoteException
IsRequired.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsLinked(int inIsLinked)
throws java.rmi.RemoteException
IsLinked value and sets the state to MetadataState.LOCAL.
inIsLinked - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsLinked(int inIsLinked,
int state)
throws java.rmi.RemoteException
IsLinked Metadata State.
inIsLinked - intstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsLinked(java.lang.String inIsLinked)
throws java.rmi.RemoteException
IsLinked value and sets the state to MetadataState.LOCAL.
inIsLinked - String
java.rmi.RemoteException - If error communicating with remote object.
void setIsLinked(java.lang.String inIsLinked,
int state)
throws java.rmi.RemoteException
IsLinked value and Metadata State.
inIsLinked - Stringstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setIsLinkedState(int state)
throws java.rmi.RemoteException
IsLinked.
state - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPropertyGroups(AssociationList list)
throws java.rmi.RemoteException
AssociatedPropertyGroups list to be list. Object of which can be of type:
list - AssociationList
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPropertyGroups(AssociationList list,
int state)
throws java.rmi.RemoteException
AssociatedPropertyGroups list to be list. Object of which can be of type:
list - AssociationListstate - int
java.rmi.RemoteException - If error communicating with remote object.
void setAssociatedPropertyGroup(PropertyGroup inObject)
throws java.rmi.RemoteException
AssociatedPropertyGroups list 0th element to be inObject.
inObject - PropertyGroup
java.rmi.RemoteException - If error communicating with remote object.
void setStoredConfigurations(AssociationList list)
throws java.rmi.RemoteException
StoredConfigurations list to be list. Object 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. Object 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 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 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 | |||||||||||||