Class EBXField
- java.lang.Object
-
- com.orchestranetworks.addon.dex.mapping.EBXField
-
- All Implemented Interfaces:
Field
- Direct Known Subclasses:
EBXLinkField
public class EBXField extends java.lang.Object implements Field
Specifies the configuration used for an EBX® field.- Since:
- 2.3.0
-
-
Constructor Summary
Constructors Constructor Description EBXField(com.orchestranetworks.schema.SchemaNode schemaNode)
EBXField(com.orchestranetworks.schema.SchemaNode schemaNode, FieldAttribute fieldAttribute)
Used to create an EBX® field with the specified schema node andFieldAttribute
enumeration.EBXField(com.orchestranetworks.schema.SchemaNode schemaNode, FieldAttribute fieldAttribute, java.util.Locale locale)
Used to create an EBX® field with the specified schema node, locale andFieldAttribute
enumeration.EBXField(com.orchestranetworks.schema.SchemaNode schemaNode, java.util.Locale locale)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description boolean
equals(java.lang.Object obj)
FieldAttribute
getFieldAttribute()
Returns the specifiedFieldAttribute
for this EBX® field.int
getIndex()
Returns the specified field index.java.lang.String
getLabel()
Returns the specified field label.java.lang.String
getName()
Returns the specified field name.com.orchestranetworks.schema.SchemaNode
getSchemaNode()
Returns the specified schema node.int
hashCode()
-
-
-
Constructor Detail
-
EBXField
public EBXField(com.orchestranetworks.schema.SchemaNode schemaNode) throws DataExchangeException
- Throws:
DataExchangeException
-
EBXField
public EBXField(com.orchestranetworks.schema.SchemaNode schemaNode, java.util.Locale locale) throws DataExchangeException
- Throws:
DataExchangeException
-
EBXField
public EBXField(com.orchestranetworks.schema.SchemaNode schemaNode, FieldAttribute fieldAttribute) throws DataExchangeException
Used to create an EBX® field with the specified schema node andFieldAttribute
enumeration. If theFieldAttribute
enumeration is not aNO_SOURCE_FIELD
, the schema node must not be null. Otherwise, an exception will be thrown.- Throws:
DataExchangeException
- Since:
- 2.4.0
-
EBXField
public EBXField(com.orchestranetworks.schema.SchemaNode schemaNode, FieldAttribute fieldAttribute, java.util.Locale locale) throws DataExchangeException
Used to create an EBX® field with the specified schema node, locale andFieldAttribute
enumeration. If theFieldAttribute
enumeration is not aNO_SOURCE_FIELD
, the schema node must not be null. Otherwise, an exception will be thrown.- Throws:
DataExchangeException
- Since:
- 2.4.0
-
-
Method Detail
-
getName
public final java.lang.String getName()
Returns the specified field name.
-
getLabel
public final java.lang.String getLabel()
Returns the specified field label.
-
getSchemaNode
public final com.orchestranetworks.schema.SchemaNode getSchemaNode()
Returns the specified schema node.
-
hashCode
public int hashCode()
- Overrides:
hashCode
in classjava.lang.Object
-
equals
public boolean equals(java.lang.Object obj)
- Overrides:
equals
in classjava.lang.Object
-
getIndex
public final int getIndex()
Returns the specified field index.
-
getFieldAttribute
public final FieldAttribute getFieldAttribute()
Returns the specifiedFieldAttribute
for this EBX® field.- Since:
- 2.4.0
-
-