***  This API provides Binary Compatibility only, not Source Compatibility  ***

com.sas.services.information.metadata
Class OMRProperty

java.lang.Object
  |
  +--java.rmi.server.RemoteObject
        |
        +--java.rmi.server.RemoteServer
              |
              +--java.rmi.server.UnicastRemoteObject
                    |
                    +--com.sas.services.information.metadata.Metadata
                          |
                          +--com.sas.services.information.metadata.OMRProperty
All Implemented Interfaces:
MetadataInterface, PropertyInterface,

public class OMRProperty
extends Metadata
implements PropertyInterface

Property persisted in a SAS Metadata Repository.

Since:
1.1
See Also:
Serialized Form

Fields inherited from class com.sas.services.information.metadata.Metadata
_repository, _repositoryFlag, _repositoryObject, formats, gmtZone, REPOSITORY_DAV, REPOSITORY_LDAP, REPOSITORY_NONE, REPOSITORY_OMR
 
Fields inherited from class java.rmi.server.RemoteObject
ref
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Constructor Summary
OMRProperty()
           
OMRProperty(Property o)
           
OMRProperty(PropertyImpl o)
           
OMRProperty(RepositoryInterface repos, String name, FolderInterface parent)
           
OMRProperty(RepositoryInterface repos, String name, FolderInterface parent, PropertyType owningType)
           
 
Method Summary
 void delete()
          Delete this object from its repository.
 TextStoreInterface getConfigurationText()
          Get the configuration text.
 String getKey()
          Get the property key
 String getName()
          Get the name for this object.
 int getSQLType()
          Get the SQL type for this property.
 String getType()
          Get the object type.
 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 class com.sas.services.information.metadata.Metadata
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, clearInformationService, commit, copyTo, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getInformationService, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, getTreeRefresh, getVersion, isAuthorized, isLoggingEnabled, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, notifyTransactionListeners, refresh, removeAccessControl, removeExtension, removeKeyword, removePermissions, rollback, setAttribute, setAttributes, setDescription, setGUID, setKeywords, setName, setPermission, setRemarksList, setRepository, setTreeRefresh, startTransaction, transactionEvent, uncheckout, update, version
 
Methods inherited from class java.rmi.server.UnicastRemoteObject
clone, exportObject, exportObject, exportObject, unexportObject
 
Methods inherited from class java.rmi.server.RemoteServer
getClientHost, getLog, setLog
 
Methods inherited from class java.rmi.server.RemoteObject
equals, getRef, hashCode, toString, toStub
 
Methods inherited from class java.lang.Object
finalize, getClass, notify, notifyAll, wait, wait, wait
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addExtension, addKeyword, addPermissions, addRemark, addTransactionListener, checkin, checkout, commit, copyTo, deleteAttribute, deleteAttributes, getAccessControls, getAttribute, getAttributes, getCreateDate, getDescription, getEntityKey, getEntityURL, getExtensions, getGUID, getIdentities, getKeywords, getModifyDate, getParentPath, getParents, getPath, getPaths, getPathUrl, getPathUrl, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getRemarksList, getReposId, getRepository, getRepositoryEntity, getReposKey, getTrackingId, 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
 

Constructor Detail

OMRProperty

public OMRProperty()
            throws RemoteException

OMRProperty

public OMRProperty(Property o)
            throws RemoteException

OMRProperty

public OMRProperty(PropertyImpl o)
            throws RemoteException

OMRProperty

public OMRProperty(RepositoryInterface repos,
                   String name,
                   FolderInterface parent)
            throws RemoteException

OMRProperty

public OMRProperty(RepositoryInterface repos,
                   String name,
                   FolderInterface parent,
                   PropertyType owningType)
            throws RemoteException
Method Detail

getName

public String getName()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the name for this object.

Specified by:
getName in interface MetadataInterface
Overrides:
getName in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
The object name.
Throws:
RemoteException - if an error occurs

getType

public String getType()
               throws RemoteException
Description copied from interface: MetadataInterface
Get the object type. Subclasses of Metadata will return a repository-neutral type string. If no subclass exists, Metadata returns the repository-specific type.
Specified by:
getType in interface MetadataInterface
Overrides:
getType in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Returns:
A type string for the object.
Throws:
RemoteException - if an error occurs

getKey

public String getKey()
              throws RemoteException
Get the property key
Specified by:
getKey in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
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
Description copied from interface: PropertyInterface
Set the key for this property. This will set the PropertyName attribute in OMR.
Specified by:
setKey in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
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
Description copied from interface: PropertyInterface
Gets the value for this property.

Specified by:
getValue in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
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
Description copied from interface: PropertyInterface
Set the value for this property.
Specified by:
setValue in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
Throws:
ServiceException - If a repository or service level exception occurs.
RemoteException - In the event of remote object failure.

getSQLType

public int getSQLType()
               throws RemoteException
Description copied from interface: PropertyInterface
Get the SQL type for this property. This will be in numeric form.

Specified by:
getSQLType in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
Returns:
The SQL type code.
Throws:
RemoteException - in the event of remote object failure.

setSQLType

public void setSQLType(int type)
                throws ServiceException,
                       RemoteException
Description copied from interface: PropertyInterface
Set the SQL type for this property.
Specified by:
setSQLType in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
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
Description copied from interface: PropertyInterface
Get the configuration text. If this is not stored in a TextStore object, the current implementation will return a null.
Specified by:
getConfigurationText in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
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
Description copied from interface: PropertyInterface
Set the text store object that contains the configuration text for this property.
Specified by:
setConfigurationText in interface PropertyInterface
Following copied from interface: com.sas.services.information.metadata.PropertyInterface
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.

delete

public void delete()
            throws ServiceException,
                   RemoteException
Description copied from interface: MetadataInterface
Delete this object from its repository. This may be overridden by subclasses to perform clean up operations on other objects that may be dependent on this one.

Specified by:
delete in interface MetadataInterface
Overrides:
delete in class Metadata
Following copied from interface: com.sas.services.information.metadata.MetadataInterface
Throws:
ServiceException - in the event of a repository failure.
RemoteException - in the event of a network failure.

***  This API provides Binary Compatibility only, not Source Compatibility  ***




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