*** 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
  • Method Details

    • getMetadataType

      String getMetadataType() throws ServiceException, RemoteException
      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

      void setMetadataType(String type) throws ServiceException, 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.
      RemoteException - In the event of remote object failure.
    • getPrototypeProperties

      List getPrototypeProperties() throws ServiceException, 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.
      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 - A AttributePropertyInterface to 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 - An AttributePropertyInterface to remove from this prototype.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • getAssociations

      List getAssociations() throws ServiceException, RemoteException
      Get the associations for this prototype.
      Returns:
      A List of AssociationPropertyInterface objects.
      Throws:
      ServiceException - If a repository error occurs.
      RemoteException - In the event of remote object failure.
    • addAssociation

      void addAssociation(AssociationPropertyInterface property) throws ServiceException, RemoteException
      Add an association to this prototype.
      Parameters:
      property - An AssociationPropertyInterface object.
      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 - An AssociationPropertyInterface object 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:
      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.
      RemoteException - In the event of remote object failure.
    • getPrimaryPropertyGroup

      PropertyGroupInterface getPrimaryPropertyGroup() throws ServiceException, 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.
      RemoteException - In the event of remote object failure.