ApplicationFeatureId

Value type representing a namespace, type or member.

This value is Comparable , the implementation of which considers #getSort() (feature) sort , #getNamespace() namespace , #getTypeSimpleName() type simple name and #getLogicalMemberName() member-logical-name .

If the represented member is an action , then #getLogicalMemberName() member-logical-name must not include any parameter list or parentheses. Consequently method overloading is not supported.

If there is a member name clash involving an action and an association , then consequently any permissions defined automatically apply to both and one cannot separate these.

API

ApplicationFeatureId.java
class ApplicationFeatureId {
  public static final ApplicationFeatureId NAMESPACE_DEFAULT;
  ApplicationFeatureId fromIdentifier(final Identifier identifier)
  ApplicationFeatureId newFeature(final ApplicationFeatureSort featureSort, final String qualifiedLogicalName)
  ApplicationFeatureId newFeature(final String namespace, final String logicalTypeSimpleName, final String memberName)
  ApplicationFeatureId newNamespace(final String namespace)
  ApplicationFeatureId newNamespace(final LogicalType logicalType)     (1)
  ApplicationFeatureId newType(final String logicalTypeName)
  ApplicationFeatureId newType(final LogicalType logicalType)
  ApplicationFeatureId newMember(final LogicalType logicalType, final String memberLogicalName)
  ApplicationFeatureId newMember(final String logicalTypeName, final String memberLogicalName)
  ApplicationFeatureId newMember(String fullyQualifiedLogicalName)
  String title()     (2)
  ApplicationFeatureId getParentTypeFeatureId()     (3)
  String getFullyQualifiedName()
  String getLogicalTypeName()
  ApplicationFeatureId getParentNamespaceFeatureId()     (4)
  String stringify()
  ApplicationFeatureId parse(final String stringified)     (5)
  String asEncodedString()
  ApplicationFeatureId parseEncoded(final String encodedString)     (6)
  Can<ApplicationFeatureId> getPathIds()
  Can<ApplicationFeatureId> getParentFeatureIds()
  boolean contains(final ApplicationFeatureId otherFeatureId)
  int compareTo(final ApplicationFeatureId other)
  boolean equals(final Object o)
  int hashCode()
  String toString()
  ApplicationFeatureId withNamespace(final String namespace)     (7)
}
1 newNamespace(LogicalType)

Creates a new ApplicationFeatureId based on the LogicalType#getNamespace() namespace of the provided LogicalType .

2 title()

having a title() method (rather than using @Title annotation) is necessary as a workaround to be able to use wrapperFactory#unwrap(…​) method, which is otherwise broken in Isis 1.6.0

3 getParentTypeFeatureId()

The ApplicationFeatureId of the member’s logical type.

4 getParentNamespaceFeatureId()

The ApplicationFeatureId of the parent package of this class or package.

5 parse(String)

Round-trip with #stringify()

6 parseEncoded(String)

Round-trip with #asEncodedString()

7 withNamespace(String)

Returns a new instance that is a clone of this, except for the namespace, which is taken from the argument.

Members

newNamespace(LogicalType)

Creates a new ApplicationFeatureId based on the LogicalType#getNamespace() namespace of the provided LogicalType .

title()

having a title() method (rather than using @Title annotation) is necessary as a workaround to be able to use wrapperFactory#unwrap(…​) method, which is otherwise broken in Isis 1.6.0

getParentTypeFeatureId()

The ApplicationFeatureId of the member’s logical type.

getParentNamespaceFeatureId()

The ApplicationFeatureId of the parent package of this class or package.

parse(String)

Round-trip with #stringify()

parseEncoded(String)

Round-trip with #asEncodedString()

withNamespace(String)

Returns a new instance that is a clone of this, except for the namespace, which is taken from the argument.