Class SimpleDomain

  • All Implemented Interfaces:
    java.lang.Comparable<Domain>, Domain

    public class SimpleDomain
    extends java.lang.Object
    implements Domain
    • Constructor Detail

      • SimpleDomain

        public SimpleDomain​(java.lang.String id)
    • Method Detail

      • compareTo

        public int compareTo​(Domain domain)
        Specified by:
        compareTo in interface java.lang.Comparable<Domain>
      • getDomainId

        public java.lang.String getDomainId()
        Specified by:
        getDomainId in interface Domain
      • getFrom

        public int getFrom()
        Specified by:
        getFrom in interface Domain
      • getLength

        public int getLength()
        Specified by:
        getLength in interface Domain
      • getNumber

        public short getNumber()
        Specified by:
        getNumber in interface Domain
      • getTo

        public int getTo()
        Specified by:
        getTo in interface Domain
      • getTotalCount

        public short getTotalCount()
        Specified by:
        getTotalCount in interface Domain