/** * Constructs a transform for the declared metadata described by the given * creator. This constructor is only for use by subclasses, callers should * use either {@link AttributeTransform#create(AttributeCreatorImpl)} or * {@link ElementTransform#create(ElementCreatorImpl)} to build transforms * from their builders. */ Transform(MetadataCreatorImpl creator) { this.name = creator.getName(); this.required = creator.getRequired(); this.visible = creator.getVisible(); this.virtualValue = creator.getVirtualValue(); this.source = creator.getSource(); this.path = creator.getPath(); this.isMoved = creator.isMoved(); }
/** * Constructs a transform for the declared metadata described by the given * creator. This constructor is only for use by subclasses, callers should * use either {@link AttributeTransform#create(AttributeCreatorImpl)} or * {@link ElementTransform#create(ElementCreatorImpl)} to build transforms * from their builders. */ Transform(MetadataCreatorImpl creator) { this.name = creator.getName(); this.required = creator.getRequired(); this.visible = creator.getVisible(); this.virtualValue = creator.getVirtualValue(); this.source = creator.getSource(); this.path = creator.getPath(); this.isMoved = creator.isMoved(); }
/** * Constructs a transform for the declared metadata described by the given * creator. This constructor is only for use by subclasses, callers should * use either {@link AttributeTransform#create(AttributeCreatorImpl)} or * {@link ElementTransform#create(ElementCreatorImpl)} to build transforms * from their builders. */ Transform(MetadataCreatorImpl creator) { this.name = creator.getName(); this.required = creator.getRequired(); this.visible = creator.getVisible(); this.virtualValue = creator.getVirtualValue(); this.source = creator.getSource(); this.path = creator.getPath(); this.isMoved = creator.isMoved(); }