|
Metadata |
|
| |||||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
public interface LogicalColumn
The supertype for Column, which is part of a relational table, and Measure, which is used with OLAP types.
Attributes of LogicalColumn are:
Associations of LogicalColumn 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(); LogicalColumn myObject = (LogicalColumn) factory.createComplexMetadataObject(objectStore, "LogicalColumn_Object", MetadataObjects.LOGICALCOLUMN, "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 |
ATTRIBUTE_COLUMNLENGTH_NAME
Constant used for the name of the ColumnLength attribute. |
static java.lang.String |
ATTRIBUTE_COLUMNNAME_NAME
Constant used for the name of the ColumnName attribute. |
static java.lang.String |
ATTRIBUTE_COLUMNTYPE_NAME
Constant used for the name of the ColumnType attribute. |
static java.lang.String |
ATTRIBUTE_SASFORMAT_NAME
Constant used for the name of the SASFormat attribute. |
static java.lang.String |
ATTRIBUTE_SASINFORMAT_NAME
Constant used for the name of the SASInformat attribute. |
Fields inherited from interface com.sas.metadata.remote.Feature |
---|
ASSOCIATION_SOURCEFEATUREMAPS_NAME, ASSOCIATION_TARGETFEATUREMAPS_NAME |
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 |
getColumnLength()
Gets the int value of ColumnLength |
int |
getColumnLengthState()
Gets the Metadata State of ColumnLength |
java.lang.String |
getColumnName()
Gets the String value of ColumnName |
int |
getColumnNameMaxLength()
Gets the maximum length of ColumnName |
int |
getColumnNameState()
Gets the Metadata State of ColumnName |
int |
getColumnType()
Gets the int value of ColumnType |
int |
getColumnTypeState()
Gets the Metadata State of ColumnType |
java.lang.String |
getSASFormat()
Gets the String value of SASFormat |
int |
getSASFormatMaxLength()
Gets the maximum length of SASFormat |
int |
getSASFormatState()
Gets the Metadata State of SASFormat |
java.lang.String |
getSASInformat()
Gets the String value of SASInformat |
int |
getSASInformatMaxLength()
Gets the maximum length of SASInformat |
int |
getSASInformatState()
Gets the Metadata State of SASInformat |
void |
initializePredObjects()
(S) Adds the Associated objects to the predObjects which are: |
void |
initializeRequiredObjects()
(S) This initializes the Required Objects(Roles) which are: |
void |
setColumnLength(int inColumnLength)
Sets the ColumnLength value and sets the state to MetadataState.LOCAL. |
void |
setColumnLength(int inColumnLength,
int state)
Sets the ColumnLength Metadata State. |
void |
setColumnLength(java.lang.String inColumnLength)
Sets the ColumnLength value and sets the state to MetadataState.LOCAL. |
void |
setColumnLength(java.lang.String inColumnLength,
int state)
Sets the ColumnLength value and Metadata State. |
void |
setColumnLengthState(int state)
Sets the Metadata State of ColumnLength . |
void |
setColumnName(java.lang.String inColumnName)
Sets the ColumnName value and sets the state to MetadataState.LOCAL. |
void |
setColumnName(java.lang.String inColumnName,
int state)
Sets the ColumnName Metadata State. |
void |
setColumnNameState(int state)
Sets the Metadata State of ColumnName . |
void |
setColumnType(int inColumnType)
Sets the ColumnType value and sets the state to MetadataState.LOCAL. |
void |
setColumnType(int inColumnType,
int state)
Sets the ColumnType Metadata State. |
void |
setColumnType(java.lang.String inColumnType)
Sets the ColumnType value and sets the state to MetadataState.LOCAL. |
void |
setColumnType(java.lang.String inColumnType,
int state)
Sets the ColumnType value and Metadata State. |
void |
setColumnTypeState(int state)
Sets the Metadata State of ColumnType . |
void |
setSASFormat(java.lang.String inSASFormat)
Sets the SASFormat value and sets the state to MetadataState.LOCAL. |
void |
setSASFormat(java.lang.String inSASFormat,
int state)
Sets the SASFormat Metadata State. |
void |
setSASFormatState(int state)
Sets the Metadata State of SASFormat . |
void |
setSASInformat(java.lang.String inSASInformat)
Sets the SASInformat value and sets the state to MetadataState.LOCAL. |
void |
setSASInformat(java.lang.String inSASInformat,
int state)
Sets the SASInformat Metadata State. |
void |
setSASInformatState(int state)
Sets the Metadata State of SASInformat . |
Methods inherited from interface com.sas.metadata.remote.Feature |
---|
getSourceFeatureMaps, getSourceFeatureMaps, getTargetFeatureMaps, getTargetFeatureMaps, setSourceFeatureMaps, setSourceFeatureMaps, setTargetFeatureMaps, setTargetFeatureMaps |
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_SASFORMAT_NAME
SASFormat: This attribute contains the SAS format associated with this column.
static final java.lang.String ATTRIBUTE_SASINFORMAT_NAME
SASInformat: This attribute contains the SAS informat associated with this column.
static final java.lang.String ATTRIBUTE_COLUMNLENGTH_NAME
ColumnLength: This attribute contains the length of the column. When this type is used to represent a physical column in a DBMS, the length is the DBMS length value. The SASColumnLength should be the same as this value, unless the length is too long and will be truncated by SAS software.
static final java.lang.String ATTRIBUTE_COLUMNTYPE_NAME
ColumnType: The type of the column as defined in the DBMS. This is an integer value that indicates the SQL type.
static final java.lang.String ATTRIBUTE_COLUMNNAME_NAME
ColumnName: This attribute is the name of the column as it is defined in a DBMS. ColumnName will often be set to match the value for SASColumnName. This attribute is not used by SAS Data Integration Studio.
Method Detail |
---|
void initializeRequiredObjects() throws java.rmi.RemoteException
initializeRequiredObjects
in interface Feature
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
initializePredObjects
in interface Feature
initializePredObjects
in interface MdObjectBase
initializePredObjects
in interface PrimaryType
initializePredObjects
in interface Root
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getSASFormat() throws java.rmi.RemoteException
String
value of SASFormat
SASFormat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASFormatState() throws java.rmi.RemoteException
SASFormat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASFormatMaxLength() throws java.rmi.RemoteException
SASFormat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getSASInformat() throws java.rmi.RemoteException
String
value of SASInformat
SASInformat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASInformatState() throws java.rmi.RemoteException
SASInformat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getSASInformatMaxLength() throws java.rmi.RemoteException
SASInformat
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getColumnLength() throws java.rmi.RemoteException
int
value of ColumnLength
ColumnLength
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getColumnLengthState() throws java.rmi.RemoteException
ColumnLength
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getColumnType() throws java.rmi.RemoteException
int
value of ColumnType
ColumnType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getColumnTypeState() throws java.rmi.RemoteException
ColumnType
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.java.lang.String getColumnName() throws java.rmi.RemoteException
String
value of ColumnName
ColumnName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getColumnNameState() throws java.rmi.RemoteException
ColumnName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.int getColumnNameMaxLength() throws java.rmi.RemoteException
ColumnName
java.rmi.RemoteException
- If error connecting/communicating to/with remote object.void setSASFormat(java.lang.String inSASFormat) throws java.rmi.RemoteException
SASFormat
value and sets the state to MetadataState.LOCAL.
inSASFormat
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSASFormat(java.lang.String inSASFormat, int state) throws java.rmi.RemoteException
SASFormat
Metadata State.
inSASFormat
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSASFormatState(int state) throws java.rmi.RemoteException
SASFormat
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSASInformat(java.lang.String inSASInformat) throws java.rmi.RemoteException
SASInformat
value and sets the state to MetadataState.LOCAL.
inSASInformat
- String
java.rmi.RemoteException
- If error communicating with remote object.void setSASInformat(java.lang.String inSASInformat, int state) throws java.rmi.RemoteException
SASInformat
Metadata State.
inSASInformat
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setSASInformatState(int state) throws java.rmi.RemoteException
SASInformat
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnLength(int inColumnLength) throws java.rmi.RemoteException
ColumnLength
value and sets the state to MetadataState.LOCAL.
inColumnLength
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnLength(int inColumnLength, int state) throws java.rmi.RemoteException
ColumnLength
Metadata State.
inColumnLength
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnLength(java.lang.String inColumnLength) throws java.rmi.RemoteException
ColumnLength
value and sets the state to MetadataState.LOCAL.
inColumnLength
- String
java.rmi.RemoteException
- If error communicating with remote object.void setColumnLength(java.lang.String inColumnLength, int state) throws java.rmi.RemoteException
ColumnLength
value and Metadata State.
inColumnLength
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnLengthState(int state) throws java.rmi.RemoteException
ColumnLength
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnType(int inColumnType) throws java.rmi.RemoteException
ColumnType
value and sets the state to MetadataState.LOCAL.
inColumnType
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnType(int inColumnType, int state) throws java.rmi.RemoteException
ColumnType
Metadata State.
inColumnType
- intstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnType(java.lang.String inColumnType) throws java.rmi.RemoteException
ColumnType
value and sets the state to MetadataState.LOCAL.
inColumnType
- String
java.rmi.RemoteException
- If error communicating with remote object.void setColumnType(java.lang.String inColumnType, int state) throws java.rmi.RemoteException
ColumnType
value and Metadata State.
inColumnType
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnTypeState(int state) throws java.rmi.RemoteException
ColumnType
.
state
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnName(java.lang.String inColumnName) throws java.rmi.RemoteException
ColumnName
value and sets the state to MetadataState.LOCAL.
inColumnName
- String
java.rmi.RemoteException
- If error communicating with remote object.void setColumnName(java.lang.String inColumnName, int state) throws java.rmi.RemoteException
ColumnName
Metadata State.
inColumnName
- Stringstate
- int
java.rmi.RemoteException
- If error communicating with remote object.void setColumnNameState(int state) throws java.rmi.RemoteException
ColumnName
.
state
- 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 |