com.sas.services.information.metadata
Interface PropertyInterface

All Superinterfaces:
MetadataInterface,
All Known Implementing Classes:
OMRProperty,

public interface PropertyInterface
extends MetadataInterface

This is a simple interface for representing properties that are coming from a metadata repository.

Since:
1.0

Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Method Summary
 TextStoreInterface getConfigurationText()
          Get the configuration text.
 String getKey()
          Gets the property key.
 int getSQLType()
          Get the SQL type for this property.
 String getValue()
          Gets the value for this property.
 void setConfigurationText(TextStoreInterface textStore)
          Set the text store object that contains the configuration text for this property.
 void setKey(String key)
          Set the key for this property.
 void setSQLType(int type)
          Set the SQL type for this property.
 void setValue(String value)
          Set the value for this property.
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, delete, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getKeywords, getModifyDate, getName, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getType, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, startTransaction, transactionEvent, uncheckout, update, version
 

Method Detail

getKey

public String getKey()
              throws RemoteException
Gets the property key.

Returns:
A String with the key for this property.
Throws:
RemoteException - in the event of remote object failure.

setKey

public void setKey(String key)
            throws ServiceException,
                   RemoteException
Set the key for this property. This will set the PropertyName attribute in OMR.
Throws:
ServiceException - If a repository error or service level exception occurs.
RemoteException - In the event of remote object failure.

getValue

public String getValue()
                throws RemoteException
Gets the value for this property.

Returns:
A String with the value for this property.
Throws:
RemoteException - in the event of remote object failure.

setValue

public void setValue(String value)
              throws ServiceException,
                     RemoteException
Set the value for this property.
Throws:
ServiceException - If a repository or service level exception occurs.
RemoteException - In the event of remote object failure.

getSQLType

public int getSQLType()
               throws RemoteException
Get the SQL type for this property. This will be in numeric form.

Returns:
The SQL type code.
Throws:
RemoteException - in the event of remote object failure.

setSQLType

public void setSQLType(int type)
                throws ServiceException,
                       RemoteException
Set the SQL type for this property.
Parameters:
type - A standard SQL type that indicates the type of this property value.
Throws:
ServiceException - If a repository or service level exception occurs.
RemoteException - In the event of remote object failure.

getConfigurationText

public TextStoreInterface getConfigurationText()
                                        throws ServiceException,
                                               RemoteException
Get the configuration text. If this is not stored in a TextStore object, the current implementation will return a null.
Returns:
A TextStoreInterface representing the TextStore object.
Throws:
ServiceException - If a repository error occurs.
RemoteException - In the event of remote object failure.

setConfigurationText

public void setConfigurationText(TextStoreInterface textStore)
                          throws ServiceException,
                                 RemoteException
Set the text store object that contains the configuration text for this property.
Parameters:
textStore - The text store object containing the configuration text for this property.
Throws:
ServiceException - If a repository error or service level exception occurs.
RemoteException - In the event of remote object failure.




Copyright © 2006 SAS Institute Inc. All Rights Reserved.
javadoc generated Fri, 10 Feb 2006 17:28:56