public class MoveAttributeMapping extends Object
Modifier and Type | Method and Description |
---|---|
static MoveAttributeMapping |
create(ObjectTypeAttributeBean from) |
static MoveAttributeMapping |
create(ObjectTypeAttributeBean from,
ObjectTypeAttributeBean to) |
static MoveAttributeMapping |
create(ObjectTypeAttributeBean from,
ObjectTypeAttributeBean to,
ObjectAttributeTransformer transformer) |
ObjectTypeAttributeBean |
getFrom() |
ObjectTypeAttributeBean |
getTo()
Should be performed when a mapping exists (if shouldMap == true)
|
ObjectAttributeTransformer |
getTransformer()
Should be performed when a mapping exists (if shouldMap == true)
|
boolean |
shouldMap()
Should the from attribute be mapped or not.
|
public static MoveAttributeMapping create(ObjectTypeAttributeBean from, ObjectTypeAttributeBean to, ObjectAttributeTransformer transformer)
public static MoveAttributeMapping create(ObjectTypeAttributeBean from, ObjectTypeAttributeBean to)
public static MoveAttributeMapping create(ObjectTypeAttributeBean from)
public ObjectAttributeTransformer getTransformer()
NoSuchElementException
- if no mapping is present.public ObjectTypeAttributeBean getFrom()
public boolean shouldMap()
public ObjectTypeAttributeBean getTo()
NoSuchElementException
- if no mapping is present.Copyright © 2022 Atlassian. All rights reserved.