Class AbstractLocalizedEntityReference

    • Constructor Detail

      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(String name,
                                                EntityType type)
        Create a new EntityReference.
        Parameters:
        name - name for the newly created entity reference, could not be null.
        type - type for the newly created entity reference, could not be null.
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(String name,
                                                EntityType type,
                                                Locale locale)
        Create a new EntityReference.
        Parameters:
        name - name for the newly created entity reference, could not be null.
        type - type for the newly created entity reference, could not be null.
        locale - the Locale of the entity.
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(String name,
                                                EntityType type,
                                                EntityReference parent)
        Create a new EntityReference.
        Parameters:
        name - name for the newly created entity reference, could not be null.
        type - type for the newly created entity reference, could not be null.
        parent - parent reference for the newly created entity reference, may be null.
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(String name,
                                                EntityType type,
                                                EntityReference parent,
                                                Map<String,​Serializable> parameters)
        Create a new EntityReference.
        Parameters:
        name - name for the newly created entity reference, could not be null.
        type - type for the newly created entity reference, could not be null.
        parent - parent reference for the newly created entity reference, may be null.
        parameters - parameters for this reference, may be null
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(String name,
                                                EntityType type,
                                                EntityReference parent,
                                                Locale locale)
        Parameters:
        name - name for the newly created entity reference, could not be null.
        type - type for the newly created entity reference, could not be null.
        parent - parent reference for the newly created entity reference, may be null.
        locale - the Locale of the entity.
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(EntityReference reference)
        Clone an EntityReference.
        Parameters:
        reference - the reference to clone
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(EntityReference reference,
                                                Locale locale)
        Clone an EntityReference and change/add the passed Locale.
        Parameters:
        reference - the reference to clone
        locale - the Locale of the new reference
      • AbstractLocalizedEntityReference

        protected AbstractLocalizedEntityReference​(EntityReference reference,
                                                   EntityReference oldReference,
                                                   EntityReference newReference)
        Clone an EntityReference, but replace one of the parent in the chain by an other one.
        Parameters:
        reference - the reference that is cloned
        oldReference - the old parent that will be replaced
        newReference - the new parent that will replace oldReference in the chain
      • AbstractLocalizedEntityReference

        public AbstractLocalizedEntityReference​(EntityReference reference,
                                                EntityReference parent)
        Clone an AbstractLocalizedEntityReference, but use the specified parent for its new parent.
        Parameters:
        reference - the reference to clone
        parent - the new parent to use
        Since:
        10.8RC1