public class ExternalRecordType extends Object implements RecordTypeExtension
Modifier and Type | Field and Description |
---|---|
static 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 |
---|---|
String |
getFullName()
Returns record full name.
|
<F extends RecordField> |
getIdentificationFields()
Returns fields that are part of record identification.
|
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(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(String name)
Returns true if the property is version.
|
String |
toString() |
public static final String RECORD_TYPE_WITH_EXTERNAL_PROVIDER
public ExternalRecordType(RecordType recordType, boolean implementsExternalRecordEntity)
recordType
- implementsExternalRecordEntity
- public RecordType getRecordType()
public <F extends RecordField> List<F> getIdentificationFields()
F
- public boolean isIdentificationProperty(String name)
name
- public boolean isCompositeIdentification()
public RecordField getVersionField()
public boolean isVersionProperty(String name)
name
- public boolean isVersioned()
public boolean implementsExternalRecordEntity()
public String getName()
public String getFullName()
Copyright © 2007-2020 Whitestein Technologies. All Rights Reserved.