*** This interface provides Binary Compatibility only, not Source Compatibility ***
Interface PrototypeInterface
- All Superinterfaces:
MetadataInterface,PublicObjectInterface,Remote
- All Known Subinterfaces:
GeneratedTransformInterface
@SASScope("ALL")
@BinaryCompatibilityOnly
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
Modifier and TypeMethodDescriptionvoidaddAssociation(AssociationPropertyInterface property) Add an association to this prototype.voidAdd an attribute property to this prototype.ListGet the associations for this prototype.StringGet the metadata type described by this prototype.Get the primary property group for this prototype.ListGet the set of attribute properties for this prototype.voidRemove an association from this prototype.voidRemove an attribute property from this prototype.voidsetMetadataType(String type) Set the metadata type described by this prototype.voidsetPrimaryPropertyGroup(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, addNoteTextStore, addNoteTextStore, addObjectProperty, addObjectProperty, addPermissions, addPrompt, addPropertySet, addRemark, addResponsibleParty, addTransactionListener, addUsedByPrototype, checkin, checkout, commit, copyTo, countAssociatedObjects, delete, deleteAttribute, deleteAttributes, destroy, getAccessControls, getAttribute, getAttributes, getAuthorizationUtil, getCreateDate, getCreatedBy, getDescription, getDocuments, getEntityKey, getEntityURL, getExtensions, getGroups, getGUID, getIdentities, getImplementors, getKeywords, getLockedBy, getModifiedBy, getModifyDate, getNoteTextStore, getNoteTextStores, getNoteTextStoresByRole, 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, isObjectAlive, isReadCompatible, mapNameToFilesystem, mapUrlToFilesystem, moveTo, newServiceObject, refresh, removeAccessControl, removeDocument, removeExtension, removeGroup, removeImplementor, removeKeyword, removeNoteTextStore, removeObjectProperty, removePermissions, removePrompt, removePropertySet, removeResponsibleParty, removeResponsiblePartyByIdentity, removeUsedByPrototype, rollback, setAttribute, setAttributes, setDeleted, setDescription, setDocuments, setExtensions, setGroups, setGUID, setKeywords, setName, setNoteTextStores, setObjectProperties, setPermission, setPrompt, setPrompts, setRemarksList, setRepository, setUsingPrototype, startTransaction, toByteArray, transactionEvent, uncheckout, update, updateFromBag, versionMethods inherited from interface com.sas.services.information.publicobject.PublicObjectInterface
addProcessorInterface, getContainer, getIdentifier, getName, getObjectURI, getPathUrl, getProcessorInterface, getTypeDescriptor
-
Method Details
-
getMetadataType
Get the metadata type described by this prototype.- Returns:
- The metadata type described by this prototype.
- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setMetadataType
Set the metadata type described by this prototype.- Parameters:
type- The metadata type described by this prototype.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getPrototypeProperties
Get the set of attribute properties for this prototype.- Returns:
- A List of
AttributePropertyInterfaceobjects that describe the prototyped object. - Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
addPrototypeProperty
void addPrototypeProperty(PrototypePropertyInterface property) throws ServiceException, RemoteException Add an attribute property to this prototype.- Parameters:
property- AAttributePropertyInterfaceto add to this prototype.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removePrototypeProperty
void removePrototypeProperty(PrototypePropertyInterface property) throws ServiceException, RemoteException Remove an attribute property from this prototype.- Parameters:
property- AnAttributePropertyInterfaceto remove from this prototype.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getAssociations
Get the associations for this prototype.- Returns:
- A List of
AssociationPropertyInterfaceobjects. - Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
addAssociation
Add an association to this prototype.- Parameters:
property- AnAssociationPropertyInterfaceobject.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
removeAssociation
void removeAssociation(AssociationPropertyInterface property) throws ServiceException, RemoteException Remove an association from this prototype.- Parameters:
property- AnAssociationPropertyInterfaceobject to remove.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
setPrimaryPropertyGroup
void setPrimaryPropertyGroup(PropertyGroupInterface propertyGroup) throws ServiceException, RemoteException Set the primary property group for this prototype.- Specified by:
setPrimaryPropertyGroupin interfaceMetadataInterface- Parameters:
propertyGroup- The PropertyGroupInterface to use as the primary property group for this prototype.- Throws:
ServiceException- If a repository error occurs.RemoteException- In the event of remote object failure.
-
getPrimaryPropertyGroup
Get the primary property group for this prototype.- Specified by:
getPrimaryPropertyGroupin interfaceMetadataInterface- 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.RemoteException- In the event of remote object failure.
-