Class GrantFragment.Grant

java.lang.Object
com.kosdev.kos.commons.util.json.fragments.GrantFragment.Grant
Enclosing class:
GrantFragment

public static class GrantFragment.Grant extends Object
Information about a single grant.
  • Constructor Details

    • Grant

      public Grant()
  • Method Details

    • getName

      public String getName()
      The name of the grant. When imported, this will be prefixed by the authority of the KAB that contains this information. For example, if the name of the grant is "test" and the authority used to sign the KAB is "kondra" , then the final grant will be "kondra.test" .
    • getStartDate

      public String getStartDate()
      If set, when the grant becomes active. Format is ISO-8601 zulu.
    • getEndDate

      public String getEndDate()
      If set, when the grant becomes inactive. Format is ISO-8601 zulu.
    • setName

      public void setName(String name)
      The name of the grant. When imported, this will be prefixed by the authority of the KAB that contains this information. For example, if the name of the grant is "test" and the authority used to sign the KAB is "kondra" , then the final grant will be "kondra.test" .
    • setStartDate

      public void setStartDate(String startDate)
      If set, when the grant becomes active. Format is ISO-8601 zulu.
    • setEndDate

      public void setEndDate(String endDate)
      If set, when the grant becomes inactive. Format is ISO-8601 zulu.