Package com.sas.metadata.remote
Interface MdObjectBase
- All Superinterfaces:
Remote
- All Known Subinterfaces:
AbstractExtension,AbstractJob,AbstractPrompt,AbstractProperty,AbstractTransformation,AccessControl,AccessControlEntry,AccessControlTemplate,Action,Aggregation,AnalyticColumn,AnalyticContext,AnalyticTable,ApplicationAction,ArchiveEntry,ArchiveFile,AssociationProperty,AttributeProperty,AuthenticationDomain,CalculatedMeasure,CalculatedMember,Change,Classifier,ClassifierMap,CMetadata,Column,ColumnHierarchy,ColumnRange,COMConnection,Condition,ConditionActionSet,ConditionalPrecedence,ConfiguredComponent,Connection,ContentLocation,ContentType,Cube,CustomAssociation,DatabaseCatalog,DatabaseSchema,DataSourceName,DataTable,DeployedComponent,DeployedDataPackage,Device,DeviceType,Dimension,Directory,Document,Email,Event,Extension,ExternalIdentity,ExternalTable,FavoritesContainer,Feature,FeatureMap,File,FitStatistic,ForeignKey,GlobalFormula,Group,GroupByClause,HavingClause,Hierarchy,HierarchyLevel,Identity,IdentityGroup,Index,InternalLogin,ITChannel,ITContentSubscriber,ITEventSubscriber,ITFilter,ITSubscriber,JFJob,Job,Join,JoinTable,Key,KeyAssociation,Keyword,Level,LocalizedResource,LocalizedType,Location,LogicalColumn,LogicalServer,Login,Machine,MdObjectBaseUtil,MdObjectBaseXML,Measure,Memory,MiningResult,NamedService,NamedSet,NumericExtension,OLAPProperty,OLAPSchema,OnClause,OpenClientConnection,OrderByClause,Permission,PermissionCondition,Person,Phone,PhysicalTable,PrimaryType,Prompt,PromptGroup,Property,PropertyGroup,PropertySet,PropertyType,Prototype,PrototypeProperty,PSColumnLayoutComponent,PSLayoutComponent,PSPortalPage,PSPortalProfile,PSPortlet,QueryClause,QueryTable,RelationalSchema,RelationalTable,Report,ResponsibleParty,Role,Root,RowSelector,SASCatalog,SASCatalogEntry,SASClientConnection,SASFileRef,SASLibrary,SASLicense,SASPassword,Search,SecondaryType,SecuredLibrary,SecuredTable,SecurityRule,SecurityRuleScheme,SecurityTypeContainmentRule,Select,ServerComponent,ServerContext,ServiceComponent,ServiceType,SharedDimension,SoftwareComponent,StepPrecedence,Stream,SXLEMap,SyncStep,TableCollection,Target,TCPIPConnection,Text,TextStore,Timestamp,Transformation,TransformationActivity,TransformationStep,Tree,TSNameObject,TSNamespace,TypeDefinition,UniqueKey,UnitofTime,Variable,WhereClause,WorkTable,XPath
public interface MdObjectBase
extends Remote
Root class of all metadata classes. This class does not actually exist in the model.
Root inherits from this class, thus inherits all its methods and attributes for all
objects.
Attributes: Name, Id, Created, Updated.
Associations: NONE
Associations: NONE
-
Field Summary
FieldsModifier and TypeFieldDescriptionstatic final StringAttribute: Desc , String representation of attribute "Desc".static final StringAttribute: Id , String representation of attribute "Id".static final StringAttribute: Created , String representation of attribute "Created".static final StringAttribute: Updated , String representation of attribute "Updated".static final StringAttribute: Name , String representation of attribute "Name". -
Method Summary
Modifier and TypeMethodDescriptionvoidaddElementToChangeList(CMetadata object) Adds the specified metadata object to this object's change list; only adds the object if it is not already in the listvoidRemove all elements from the change list, and set it to emptyVector<CMetadata> Return the current change listStringReturn the type of this objectStringgetDesc()Returns the description attributeintReturns the maximum length of an object's descriptionintReturns the state of the description attributeStringgetFQID()Return the unique ID for this objectStringgetId()Gets the Id of the object.intgets the state of the ID of the object.StringReturn the MetadataCreated attributeintGet the state of MetadataCreatedStringReturn the MetadataUpdated attributeintGet the state of metadataUpdatedStringgetName()Return the name of this objectintReturns the maximum length of an object's nameintReturns the state of the name attributeGets the object Store associated with this object.Vector<String> Returns list of the pred associations for this objectStringReturn the repository ID (the top part of the unique ID) for this object.Vector<String> Return those associates that are required by this objectintgetState()Return the current state of this object.voidUsed to initialize the objects pred arraybooleanisAssociationRequired(String associationName) Returns information about the specified association in this objectbooleanTells whether or not this has a temporary ID.booleanisPredAssociation(String associationName) Returns information about the specified association in this objectvoidremoveElementFromChangeList(CMetadata object) Remove the specified element from the change listvoidResets all the states of the attributes and associations to .server.voidresetState(int iValue) Turn off the specified state variable in the object statevoidResets all the attributes and association list states.voidsetCMetadataType(String type) Set the type of this object.voidsetDesc(String desc) Set the Description attribute of this object and set its state to MetadataState.LOCALvoidsetDesc(String desc, int state) Set the Description attribute of this object and set the state of the description attributevoidsetDescState(int state) Sets the state of the Description variablevoidsetFQID(String FQID) Set the ID for this objectvoidsetFQID(String FQID, int state) Set the ID for this objectvoidsetId(String Id) Set the ID for this objectvoidsetId(String Id, int state) Set the ID for this objectvoidsetIdState(int state) Set the ID state for this objectvoidsetMetadataCreated(String date) Set the MetadataCreated attributevoidsetMetadataCreated(String date, int state) Set the MetadataCreated attribute of this object, and set the state of the MetadataCreaated attributevoidsetMetadataCreatedState(int state) Set the state of the MetadataCreated attributevoidsetMetadataUpdated(String date) Set the MetadataUpdated attributevoidsetMetadataUpdated(String date, int state) Set the MetadataUpdated attribute of this object, and set the state of the MetadataUpdatted attributevoidsetMetadataUpdatedState(int state) Set the state of the MetadataUpdated attributevoidsetName(String strName) Set the name of this metadata object and its state to MetadataState.LOCAL.voidsetName(String strName, int state) Set the name of this metadata object, and set the state of the name to indicate that the name has been setvoidsetNameState(int state) Set the state of the name to indicate that the name has been setvoidsetObjectStore(MdStore OwningStore) The store that holds this object.voidsetState(int iValue) OR in the specified value with the objectState
-
Field Details
-
ATTRIBUTE_NAME_NAME
static final String ATTRIBUTE_NAME_NAMEAttribute: Name , String representation of attribute "Name".- See Also:
-
ATTRIBUTE_DESC_NAME
static final String ATTRIBUTE_DESC_NAMEAttribute: Desc , String representation of attribute "Desc".- See Also:
-
ATTRIBUTE_ID_NAME
static final String ATTRIBUTE_ID_NAMEAttribute: Id , String representation of attribute "Id".- See Also:
-
ATTRIBUTE_METADATACREATED_NAME
static final String ATTRIBUTE_METADATACREATED_NAMEAttribute: Created , String representation of attribute "Created".- See Also:
-
ATTRIBUTE_METADATAUPDATED_NAME
static final String ATTRIBUTE_METADATAUPDATED_NAMEAttribute: Updated , String representation of attribute "Updated".- See Also:
-
-
Method Details
-
setName
void setName(String strName) throws RemoteException Set the name of this metadata object and its state to MetadataState.LOCAL.- Parameters:
strName- string containing the name to use- Throws:
RemoteException- if connection to object is lost.
-
setName
void setName(String strName, int state) throws RemoteException Set the name of this metadata object, and set the state of the name to indicate that the name has been set- Parameters:
strName- name to usestate- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.
-
setNameState
void setNameState(int state) throws RemoteException Set the state of the name to indicate that the name has been set- Parameters:
state- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.
-
setMetadataCreated
void setMetadataCreated(String date) throws RemoteException Set the MetadataCreated attribute- Parameters:
date- String indicating the date to set- Throws:
RemoteException- if connection to object is lost.
-
getMetadataCreatedState
int getMetadataCreatedState() throws RemoteExceptionGet the state of MetadataCreated- Returns:
- state of the created attribute
- Throws:
RemoteException- if connection to object is lost.
-
setMetadataCreated
void setMetadataCreated(String date, int state) throws RemoteException Set the MetadataCreated attribute of this object, and set the state of the MetadataCreaated attribute- Parameters:
date- String indicating the date to setstate- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.
-
setMetadataCreatedState
void setMetadataCreatedState(int state) throws RemoteException Set the state of the MetadataCreated attribute- Parameters:
state- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.- See Also:
-
getMetadataUpdatedState
int getMetadataUpdatedState() throws RemoteExceptionGet the state of metadataUpdated- Returns:
- state of the updated attribute
- Throws:
RemoteException- if connection to object is lost.
-
setMetadataUpdated
void setMetadataUpdated(String date) throws RemoteException Set the MetadataUpdated attribute- Parameters:
date- String indicating the date to set- Throws:
RemoteException- if connection to object is lost.
-
setMetadataUpdated
void setMetadataUpdated(String date, int state) throws RemoteException Set the MetadataUpdated attribute of this object, and set the state of the MetadataUpdatted attribute- Parameters:
date- String indicating the date to setstate- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.
-
setMetadataUpdatedState
void setMetadataUpdatedState(int state) throws RemoteException Set the state of the MetadataUpdated attribute- Parameters:
state- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.- See Also:
-
getMetadataCreated
String getMetadataCreated() throws RemoteExceptionReturn the MetadataCreated attribute- Returns:
- the metadadataCreated attribute. This attribute is inherited by all objects and is set by the metadata server. It indicates when a particular object was created.
- Throws:
RemoteException- if connection to object is lost.
-
getMetadataUpdated
String getMetadataUpdated() throws RemoteExceptionReturn the MetadataUpdated attribute- Returns:
- the metadadataUpdated attribute. This attribute is inherited by all objects and is set by the metadata server. It indicates when a particular object was last updated.
- Throws:
RemoteException- if connection to object is lost.
-
getName
String getName() throws RemoteExceptionReturn the name of this object- Throws:
RemoteException- if connection to object is lost.
-
getNameMaxLength
int getNameMaxLength() throws RemoteExceptionReturns the maximum length of an object's name- Returns:
- max length of a name
- Throws:
RemoteException
-
setDesc
void setDesc(String desc) throws RemoteException Set the Description attribute of this object and set its state to MetadataState.LOCAL- Parameters:
desc- Description to set- Throws:
RemoteException- if connection to object is lost.
-
setDesc
void setDesc(String desc, int state) throws RemoteException Set the Description attribute of this object and set the state of the description attribute- Parameters:
desc- Description to setstate- int variable that indicates current state of this attribute- Throws:
RemoteException- if connection to object is lost.- See Also:
-
setDescState
void setDescState(int state) throws RemoteException Sets the state of the Description variable- Parameters:
state- int- Throws:
RemoteException- if connection to object is lost.
-
getDesc
String getDesc() throws RemoteExceptionReturns the description attribute- Returns:
- Description string
- Throws:
RemoteException- if connection to object is lost.
-
getDescMaxLength
int getDescMaxLength() throws RemoteExceptionReturns the maximum length of an object's description- Returns:
- max length of a description
- Throws:
RemoteException
-
getDescState
int getDescState() throws RemoteExceptionReturns the state of the description attribute- Returns:
- int state of desc attribute
- Throws:
RemoteException- if connection to object is lost.
-
getNameState
int getNameState() throws RemoteExceptionReturns the state of the name attribute- Returns:
- int the state of the name attribute
- Throws:
RemoteException- if connection to object is lost.
-
getRepositoryID
String getRepositoryID() throws RemoteExceptionReturn the repository ID (the top part of the unique ID) for this object. Object ID's are XXXXXXXX.YYYYYYYY where XXXXXXXX is the repository ID for this object, and YYYYYYYY is the unique ID for this object in this repository- Returns:
- A string indicating the repository ID
- Throws:
RemoteException- if connection to object is lost.
-
setFQID
void setFQID(String FQID) throws RemoteException Set the ID for this object- Parameters:
FQID- the ID of the object- Throws:
RemoteException- if connection to object is lost.
-
setFQID
void setFQID(String FQID, int state) throws RemoteException Set the ID for this object- Parameters:
FQID- the ID of the objectstate- the state of this attribute.. always set from server.- Throws:
RemoteException- if connection to object is lost.
-
getId
String getId() throws RemoteExceptionGets the Id of the object.- Returns:
- String Fully Qualified Identity of this object.
- Throws:
RemoteException- if connection to object is lost.
-
setId
void setId(String Id) throws RemoteException Set the ID for this object- Parameters:
Id- the ID of the object- Throws:
RemoteException- if connection to object is lost.
-
setId
void setId(String Id, int state) throws RemoteException Set the ID for this object- Parameters:
Id- the ID of the objectstate- the state of this attribute.. always set from server.- Throws:
RemoteException- if connection to object is lost.
-
setIdState
void setIdState(int state) throws RemoteException Set the ID state for this object- Parameters:
state- the state of this attribute.. always set from server.- Throws:
RemoteException- if connection to object is lost.
-
getIdState
int getIdState() throws RemoteExceptiongets the state of the ID of the object.- Returns:
- int the State of this attribute - always from server.
- Throws:
RemoteException- if connection to object is lost.
-
getFQID
String getFQID() throws RemoteExceptionReturn the unique ID for this object- Returns:
- the object ID
- Throws:
RemoteException- if connection to object is lost.
-
setCMetadataType
void setCMetadataType(String type) throws RemoteException Set the type of this object. The type is one of the object types supported by the model- Parameters:
type- a String that contains the type to set this object type to- Throws:
RemoteException- if connection to object is lost.
-
getCMetadataType
String getCMetadataType() throws RemoteExceptionReturn the type of this object- Returns:
- the type of the object
- Throws:
RemoteException- if connection to object is lost.
-
isNewObject
boolean isNewObject() throws RemoteExceptionTells whether or not this has a temporary ID.- Returns:
- true if temp object, false otherwise.
- Throws:
RemoteException- if connection to object is lost.
-
getState
int getState() throws RemoteExceptionReturn the current state of this object. Valid object states are found in MetadataState- Returns:
- integer indicating the state of this object
- Throws:
RemoteException- if connection to object is lost.- See Also:
-
setState
void setState(int iValue) throws RemoteException OR in the specified value with the objectState- Parameters:
iValue- the value to OR in with the current object state- Throws:
RemoteException- if connection to object is lost.
-
resetState
void resetState(int iValue) throws RemoteException Turn off the specified state variable in the object state- Parameters:
iValue- the flag to turn off in the object state flags- Throws:
RemoteException- if connection to object is lost.
-
resetObject
void resetObject() throws RemoteExceptionResets all the states of the attributes and associations to .server.- Throws:
RemoteException- if connection to object is lost.
-
resetStates
void resetStates() throws RemoteExceptionResets all the attributes and association list states.- Throws:
RemoteException- if connection to object is lost.
-
getObjectStore
Gets the object Store associated with this object.- Returns:
- MdStore the store that owns this object
- Throws:
RemoteException- if connection to object is lost.
-
setObjectStore
The store that holds this object.- Parameters:
OwningStore- MdStore the store to us to search for assoc objects.- Throws:
RemoteException- if connection to object is lost.
-
addElementToChangeList
Adds the specified metadata object to this object's change list; only adds the object if it is not already in the list- Parameters:
object- The metadata object to add to the list- Throws:
RemoteException- if connection to object is lost.
-
removeElementFromChangeList
Remove the specified element from the change list- Parameters:
object- Metadata object to remove. If the object does not exist in the list, this method just returns- Throws:
RemoteException- if connection to object is lost.
-
clearChangeList
void clearChangeList() throws RemoteExceptionRemove all elements from the change list, and set it to empty- Throws:
RemoteException- if connection to object is lost.
-
getChangeList
Return the current change list- Returns:
- Vector representing the list of elements on this object's change list
- Throws:
RemoteException- if connection to object is lost.
-
getRequiredAssociations
Vector<String> getRequiredAssociations() throws RemoteExceptionReturn those associates that are required by this object- Returns:
- Vector of required associations
- Throws:
RemoteException- if connection to object is lost.
-
isAssociationRequired
boolean isAssociationRequired(String associationName) throws RemoteException Returns information about the specified association in this object- Parameters:
associationName- the name of the association (as specified in the model)- Returns:
- true if the specified association is required by this object, false otherwise
- Throws:
RemoteException- if connection to object is lost.
-
initializePredObjects
void initializePredObjects() throws RemoteExceptionUsed to initialize the objects pred array- Throws:
RemoteException- if connection to object is lost.
-
getPredAssociations
Vector<String> getPredAssociations() throws RemoteExceptionReturns list of the pred associations for this object- Returns:
- Vector of pred associations for this object
- Throws:
RemoteException- if connection to object is lost.
-
isPredAssociation
boolean isPredAssociation(String associationName) throws RemoteException Returns information about the specified association in this object- Parameters:
associationName- the name of the association (as specified in the model)- Returns:
- true if the specified association is a pred association to this object, false otherwise
- Throws:
RemoteException- if connection to object is lost.
-