Class DefaultSubjectAttributes

  • All Implemented Interfaces:
    SubjectAttributes

    public class DefaultSubjectAttributes
    extends java.lang.Object
    implements SubjectAttributes
    Default implementation of package io.adminshell.aas.v3.model.SubjectAttributes A set of data elements that further classifies a specific subject.
    • Field Detail

      • subjectAttributes

        protected java.util.List<DataElement> subjectAttributes
    • Constructor Detail

      • DefaultSubjectAttributes

        public DefaultSubjectAttributes()
    • Method Detail

      • hashCode

        public int hashCode()
        Overrides:
        hashCode in class java.lang.Object
      • equals

        public boolean equals​(java.lang.Object obj)
        Overrides:
        equals in class java.lang.Object
      • getSubjectAttributes

        public java.util.List<DataElement> getSubjectAttributes()
        Description copied from interface: SubjectAttributes
        A data element that further classifies a specific subject. Constraint AASs-015: The data element SubjectAttributes/subjectAttribute shall be part of the submodel that is referenced within the 'selectableSubjectAttributes' attribute of 'AccessControl'. More information under https://admin-shell.io/aas/3/0/RC01/SubjectAttributes/subjectAttribute
        Specified by:
        getSubjectAttributes in interface SubjectAttributes
        Returns:
        Returns the List of DataElements for the property subjectAttributes.
      • setSubjectAttributes

        public void setSubjectAttributes​(java.util.List<DataElement> subjectAttributes)
        Description copied from interface: SubjectAttributes
        A data element that further classifies a specific subject. Constraint AASs-015: The data element SubjectAttributes/subjectAttribute shall be part of the submodel that is referenced within the 'selectableSubjectAttributes' attribute of 'AccessControl'. More information under https://admin-shell.io/aas/3/0/RC01/SubjectAttributes/subjectAttribute
        Specified by:
        setSubjectAttributes in interface SubjectAttributes
        Parameters:
        subjectAttributes - desired value for the property subjectAttributes.