Class EntityReference


  • public final class EntityReference
    extends Object
    The entity reference.
    • Constructor Detail

      • EntityReference

        public EntityReference()
    • Method Detail

      • referenceName

        public String referenceName()
        Get the referenceName property: The name of this referenced entity.
        Returns:
        the referenceName value.
      • withReferenceName

        public EntityReference withReferenceName​(String referenceName)
        Set the referenceName property: The name of this referenced entity.
        Parameters:
        referenceName - the referenceName value to set.
        Returns:
        the EntityReference object itself.
      • validate

        public void validate()
        Validates the instance.
        Throws:
        IllegalArgumentException - thrown if the instance is not valid.