Class AttributeDefinitionDTO


  • public class AttributeDefinitionDTO
    extends org.osgi.dto.DTO
    A representation of an AttributeDefinition.
    • Field Summary

      Fields 
      Modifier and Type Field Description
      int cardinality
      The cardinality of the AD.
      java.lang.String description
      The description of the AD.
      java.lang.String id
      The id of the attribute.
      java.lang.String max
      The maximal value of the AD.
      java.lang.String min
      The minimal value of the AD.
      java.lang.String name
      The name of the AD.
      java.util.List<OptionDTO> options
      A list of the option entry of the AD.
      boolean required
      Indicates if the attribute is required.
      java.lang.String type
      The type of the attribute.
      java.util.List<java.lang.String> values
      A list of values.
    • Method Summary

      • Methods inherited from class org.osgi.dto.DTO

        toString
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, wait, wait, wait
    • Field Detail

      • id

        public java.lang.String id
        The id of the attribute.

        Must not be null.

      • name

        public java.lang.String name
        The name of the AD.

        If it is not specified this field must be set to the default value.

      • description

        public java.lang.String description
        The description of the AD.

        If it is not specified this field must be null.

      • type

        public java.lang.String type
        The type of the attribute.

        The type must be the name of the scalar type (eg: String). The default is "String".

      • values

        public java.util.List<java.lang.String> values
        A list of values.

        If it not specified this field must be empty.

      • cardinality

        public int cardinality
        The cardinality of the AD.

        If it is not specified this field must be set to the default value.

      • min

        public java.lang.String min
        The minimal value of the AD.

        If it is not specified this field must be null.

      • max

        public java.lang.String max
        The maximal value of the AD.

        If it is not specified this field must be null.

      • required

        public boolean required
        Indicates if the attribute is required.

        If it is not specified this field must be set to true.

      • options

        public java.util.List<OptionDTO> options
        A list of the option entry of the AD.

        If it is not specified this field must be empty.

    • Constructor Detail

      • AttributeDefinitionDTO

        public AttributeDefinitionDTO()