Class Domain

java.lang.Object
net.bluemind.domain.api.Domain

public class Domain extends Object
  • Field Details

    • label

      public String label
      A short text associated to your domain name
    • name

      public String name
      Fully qualified domain name
    • description

      public String description
      Description
    • properties

      public Map<String,String> properties
      Custom properties
    • global

      public boolean global
      True, if this is the management domain global.virt
    • aliases

      public Set<String> aliases
      Additional domain names pointing to this domain
    • defaultAlias

      public String defaultAlias
      Default alias to use on this domain (must be contained in aliases or equals to name)
  • Constructor Details

    • Domain

      public Domain()
  • Method Details

    • create

      public static Domain create(String name, String label, String description, Set<String> aliases)
      Create a domain object.
      Parameters:
      name -
      label -
      description -
      aliases -
      Returns:
      a new domain object
    • create

      public static Domain create(String name, String label, String description, Set<String> aliases, String defaultAlias)
      Create a domain object.
      Parameters:
      name -
      label -
      description -
      aliases -
      defaultAlias -
      Returns:
      a new domain object
    • copy

      public Domain copy()
      Copy this domain object.
      Returns:
      duplicated domain object