public class ExternalRecordType extends java.lang.Object implements RecordTypeExtension
Modifier and Type | Field and Description |
---|---|
static java.lang.String |
RECORD_TYPE_WITH_EXTERNAL_PROVIDER
Type with external provider.
|
Constructor and Description |
---|
ExternalRecordType(RecordType recordType,
boolean implementsExternalRecordEntity)
Creates new instance.
|
Modifier and Type | Method and Description |
---|---|
java.lang.String |
getFullName()
Returns record full name.
|
<F extends RecordField> |
getIdentificationFields()
Returns fields that are part of record identification.
|
java.lang.String |
getName()
Returns record name.
|
RecordType |
getRecordType()
Returns record type.
|
RecordField |
getVersionField()
Returns version field.
|
boolean |
implementsExternalRecordEntity()
Returns true if record entity implements ExternalRecordEntity interface.
|
boolean |
isCompositeIdentification()
Returns true if this type has composite identification.
|
boolean |
isIdentificationProperty(java.lang.String name)
Returns true if the property with a name is a part of the identification.
|
boolean |
isVersioned()
Return true if the record type is versioned.
|
boolean |
isVersionProperty(java.lang.String name)
Returns true if the property is version.
|
java.lang.String |
toString() |
public static final java.lang.String RECORD_TYPE_WITH_EXTERNAL_PROVIDER
public ExternalRecordType(RecordType recordType, boolean implementsExternalRecordEntity)
recordType
- implementsExternalRecordEntity
- public java.lang.String toString()
toString
in class java.lang.Object
public RecordType getRecordType()
public <F extends RecordField> java.util.List<F> getIdentificationFields()
F
- public boolean isIdentificationProperty(java.lang.String name)
name
- public boolean isCompositeIdentification()
public RecordField getVersionField()
public boolean isVersionProperty(java.lang.String name)
name
- public boolean isVersioned()
public boolean implementsExternalRecordEntity()
public java.lang.String getName()
public java.lang.String getFullName()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.