public class ExternalElement extends Element
Constructor and Description |
---|
ExternalElement(Property<?> localproperty,
DataObjectDefinition referencedobject,
Property<?> referencedproperty,
boolean conditional,
StoredElement referencedpropertyelement)
creates an external element
|
ExternalElement(Property<?> localproperty,
DataObjectDefinition referencedobject,
Property<?> referencedproperty,
boolean conditional,
StoredElement referencedpropertyelement,
java.lang.String namesuffix) |
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getJavaFieldName() |
StoredElement |
getReferencedPropertyElement() |
changeName, getGenericNameForProperty, setGenericsName
public ExternalElement(Property<?> localproperty, DataObjectDefinition referencedobject, Property<?> referencedproperty, boolean conditional, StoredElement referencedpropertyelement)
localproperty
- property of the current objectreferencedobject
- related object the external element is coming fromreferencedproperty
- property on the related object the external element
is coming fromconditional
- if true, the field will show only in some
conditions (not used, see issue #19 in Github)propertyelement
- element of the property to displaypublic ExternalElement(Property<?> localproperty, DataObjectDefinition referencedobject, Property<?> referencedproperty, boolean conditional, StoredElement referencedpropertyelement, java.lang.String namesuffix)
localproperty
- property of the current objectreferencedobject
- related object the external element is coming fromreferencedproperty
- property on the related object the external element
is coming fromconditional
- if true, the field will show only in some
conditions (not used, see issue #19 in Github)propertyelement
- element of the property to displaynamesuffix
- name suffix of the external element to ensure
external element name is uniquepublic StoredElement getReferencedPropertyElement()
public java.lang.String getJavaFieldName()
getJavaFieldName
in class Element