Class Interface


  • public final class Interface
    extends MgrObject<InterfaceID>
    This class represents a system interface.
    • Constructor Detail

      • Interface

        public Interface()
        Basic constructor
      • Interface

        public Interface​(String newproviderAccount,
                         String newnamespace,
                         String newclassNamespace,
                         String newclassName,
                         Set<String> newpropertiesInIface,
                         Set<String> newoperationsSignatureInIface)
        Interface common constructor
        Parameters:
        newproviderAccount - Account providing interface
        newnamespace - the Namespace where interface is being created
        newclassNamespace - Namespace of the class
        newclassName - the name of the class this interface refers to
        newpropertiesInIface - the signature of operations this interface can execute
        newoperationsSignatureInIface - the name of properties this interface can query
    • Method Detail

      • getMetaClassID

        public MetaClassID getMetaClassID()
        Returns:
        the metaClassID
      • setMetaClassID

        public void setMetaClassID​(MetaClassID newmetaClassID)
        Parameters:
        newmetaClassID - the metaClassID to set
      • getOperationsIDs

        public Set<OperationID> getOperationsIDs()
        Returns:
        the operationsIDs
      • setOperationsIDs

        public void setOperationsIDs​(Set<OperationID> newoperationsIDs)
        Parameters:
        newoperationsIDs - the operationsIDs to set
      • getPropertiesIDs

        public Set<PropertyID> getPropertiesIDs()
        Returns:
        the propertiesIDs
      • setPropertiesIDs

        public void setPropertiesIDs​(Set<PropertyID> newpropertiesIDs)
        Parameters:
        newpropertiesIDs - the propertiesIDs to set
      • getClassName

        public String getClassName()
        Get the Interface::className
        Returns:
        the className
      • setClassName

        public void setClassName​(String newclassName)
        Set the Interface::className
        Parameters:
        newclassName - the className to set
      • getNamespaceID

        public NamespaceID getNamespaceID()
        Get the Interface::namespaceID
        Returns:
        the namespaceID
      • setNamespaceID

        public void setNamespaceID​(NamespaceID newnamespaceID)
        Set the Interface::namespaceID
        Parameters:
        newnamespaceID - the namespaceID to set
      • getNamespace

        public String getNamespace()
        Get the Interface::namespace
        Returns:
        the namespace
      • setNamespace

        public void setNamespace​(String newnamespace)
        Set the Interface::namespace
        Parameters:
        newnamespace - the namespace to set
      • getPropertiesInIface

        public Set<String> getPropertiesInIface()
        Get the Interface::propertiesInIface
        Returns:
        the propertiesInIface
      • setPropertiesInIface

        public void setPropertiesInIface​(Set<String> newpropertiesInIface)
        Set the Interface::propertiesInIface
        Parameters:
        newpropertiesInIface - the propertiesInIface to set
      • getOperationsSignatureInIface

        public Set<String> getOperationsSignatureInIface()
        Get the Interface::operationsSignatureInIface
        Returns:
        the operationsSignatureInIface
      • setOperationsSignatureInIface

        public void setOperationsSignatureInIface​(Set<String> newoperationsSignatureInIface)
        Set the Interface::operationsSignatureInIface
        Parameters:
        newoperationsSignatureInIface - the operationsSignatureInIface to set
      • getProviderAccountName

        public String getProviderAccountName()
        Get providerAccount
        Returns:
        the providerAccount
      • setProviderAccountName

        public void setProviderAccountName​(String newproviderAccount)
        Set providerAccount
        Parameters:
        newproviderAccount - the providerAccount to set
      • getProviderAccountID

        public AccountID getProviderAccountID()
        Get providerAccountID
        Returns:
        the providerAccountID
      • setProviderAccountID

        public void setProviderAccountID​(AccountID newproviderAccountID)
        Set providerAccountID
        Parameters:
        newproviderAccountID - the providerAccountID to set
      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class Object
      • getClassNamespace

        public String getClassNamespace()
        Get classNamespace
        Returns:
        the classNamespace
      • setClassNamespace

        public void setClassNamespace​(String newclassNamespace)
        Set classNamespace
        Parameters:
        newclassNamespace - the classNamespace to set
      • getClassNamespaceID

        public NamespaceID getClassNamespaceID()
        Get classNamespaceID
        Returns:
        the classNamespaceID
      • setClassNamespaceID

        public void setClassNamespaceID​(NamespaceID newclassNamespaceID)
        Set classNamespaceID
        Parameters:
        newclassNamespaceID - the classNamespaceID to set