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

com.sas.services.information.metadata
Interface PrototypeInterface

All Superinterfaces:
MetadataInterface, PublicObjectInterface, java.rmi.Remote
All Known Subinterfaces:
GeneratedTransformInterface

public interface PrototypeInterface
extends MetadataInterface


Field Summary
 
Fields inherited from interface com.sas.services.information.metadata.MetadataInterface
METADATA_STATE_DELETED, METADATA_STATE_DESTROYED, METADATA_STATE_NEW, METADATA_STATE_NORMAL, PERMISSION_READMETADATA, PERMISSION_WRITEMETADATA
 
Method Summary
 void addAssociation(AssociationPropertyInterface property)
          Add an association to this prototype.
 void addPrototypeProperty(PrototypePropertyInterface property)
          Add an attribute property to this prototype.
 java.util.List getAssociations()
          Get the associations for this prototype.
 java.lang.String getMetadataType()
          Get the metadata type described by this prototype.
 PropertyGroupInterface getPrimaryPropertyGroup()
          Get the primary property group for this prototype.
 java.util.List getPrototypeProperties()
          Get the set of attribute properties for this prototype.
 void removeAssociation(AssociationPropertyInterface property)
          Remove an association from this prototype.
 void removePrototypeProperty(PrototypePropertyInterface property)
          Remove an attribute property from this prototype.
 void setMetadataType(java.lang.String type)
          Set the metadata type described by this prototype.
 void setPrimaryPropertyGroup(PropertyGroupInterface propertyGroup)
          Set the primary property group for this prototype.
 
Methods inherited from interface com.sas.services.information.metadata.MetadataInterface
add, addAccessControl, addAttribute, addAttributes, addDocument, addExtension, addGroup, addImplementor, addKeyword, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifyDate, getObjectProperties, getParent, getParentPath, getParents, getPath, getPaths, getPermission, getPermissions, getPermissions, getPreviousVersionNames, getPrompt, getPrompts, getPropertyBag, getPropertySets, getRemarksList, getReposId, getRepository, getRepositoryEntity, getRepositoryName, getReposKey, getResponsibleParties, getState, getTrackingId, getType, getUsageVersion, getUsedByPrototypes, getUsingPrototype, getVersion, isAuthorized, isCompatible, isDeleted, isDestroyed, isLoggingEnabled, isObjectAlive, isReadCompatible, logMessage, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setObjectProperties, setPermission, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, version
 
Methods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
 

Method Detail

getMetadataType

java.lang.String getMetadataType()
                                 throws ServiceException,
                                        java.rmi.RemoteException
Get the metadata type described by this prototype.

Returns:
The metadata type described by this prototype.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setMetadataType

void setMetadataType(java.lang.String type)
                     throws ServiceException,
                            java.rmi.RemoteException
Set the metadata type described by this prototype.

Parameters:
type - The metadata type described by this prototype.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getPrototypeProperties

java.util.List getPrototypeProperties()
                                      throws ServiceException,
                                             java.rmi.RemoteException
Get the set of attribute properties for this prototype.

Returns:
A List of AttributePropertyInterface objects that describe the prototyped object.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

addPrototypeProperty

void addPrototypeProperty(PrototypePropertyInterface property)
                          throws ServiceException,
                                 java.rmi.RemoteException
Add an attribute property to this prototype.

Parameters:
property - A AttributePropertyInterface to add to this prototype.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

removePrototypeProperty

void removePrototypeProperty(PrototypePropertyInterface property)
                             throws ServiceException,
                                    java.rmi.RemoteException
Remove an attribute property from this prototype.

Parameters:
property - An AttributePropertyInterface to remove from this prototype.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getAssociations

java.util.List getAssociations()
                               throws ServiceException,
                                      java.rmi.RemoteException
Get the associations for this prototype.

Returns:
A List of AssociationPropertyInterface objects.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

addAssociation

void addAssociation(AssociationPropertyInterface property)
                    throws ServiceException,
                           java.rmi.RemoteException
Add an association to this prototype.

Parameters:
property - An AssociationPropertyInterface object.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

removeAssociation

void removeAssociation(AssociationPropertyInterface property)
                       throws ServiceException,
                              java.rmi.RemoteException
Remove an association from this prototype.

Parameters:
property - An AssociationPropertyInterface object to remove.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

setPrimaryPropertyGroup

void setPrimaryPropertyGroup(PropertyGroupInterface propertyGroup)
                             throws ServiceException,
                                    java.rmi.RemoteException
Set the primary property group for this prototype.

Specified by:
setPrimaryPropertyGroup in interface MetadataInterface
Parameters:
propertyGroup - The PropertyGroupInterface to use as the primary property group for this prototype.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

getPrimaryPropertyGroup

PropertyGroupInterface getPrimaryPropertyGroup()
                                               throws ServiceException,
                                                      java.rmi.RemoteException
Get the primary property group for this prototype.

Specified by:
getPrimaryPropertyGroup in interface MetadataInterface
Returns:
The PropertyGroupInterface that is the primary property group for this prototype. Null if none has been set.
Throws:
ServiceException - If a repository error occurs.
java.rmi.RemoteException - In the event of remote object failure.

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




Copyright © 2009 SAS Institute Inc. All Rights Reserved.