public class EntityDefinition extends Object implements Comparable<EntityDefinition>
| Constructor and Description |
|---|
EntityDefinition(String name,
List<EntityDefinitionProperty> properties,
String remoteEntity) |
EntityDefinition(String name,
List<EntityDefinitionProperty> properties,
String remoteEntity,
String entitySetName) |
EntityDefinition(String name,
String remoteEntity) |
EntityDefinition(String name,
String remoteEntity,
String entitySetName) |
EntityDefinition(String name,
String remoteEntity,
String entitySetName,
boolean entitySetEnabled) |
| Modifier and Type | Method and Description |
|---|---|
void |
addProperty(EntityDefinitionProperty entityProperty) |
int |
compareTo(EntityDefinition o) |
boolean |
equals(Object obj) |
EntityDefinitionProperty |
findPropertyDefinition(String propertyName) |
String |
getEntitySetName() |
String |
getKeys() |
String |
getName() |
List<EntityDefinitionProperty> |
getProperties() |
String |
getRemoteEntity() |
int |
hashCode() |
boolean |
hasPrimaryKey() |
boolean |
isEntitySetEnabled() |
void |
setEntitySetEnabled(boolean entitySetEnabled) |
void |
setEntitySetName(String entitySetName) |
void |
setHasPrimaryKey(boolean hasPrimaryKey) |
void |
setName(String name) |
void |
setProperties(List<EntityDefinitionProperty> properties) |
void |
setRemoteEntity(String remoteEntity) |
String |
toJsonString() |
String |
toString() |
public EntityDefinition(String name, List<EntityDefinitionProperty> properties, String remoteEntity)
public EntityDefinition(String name, List<EntityDefinitionProperty> properties, String remoteEntity, String entitySetName)
public boolean hasPrimaryKey()
public void setHasPrimaryKey(boolean hasPrimaryKey)
public void addProperty(EntityDefinitionProperty entityProperty)
public String getName()
public void setName(String name)
public List<EntityDefinitionProperty> getProperties()
public void setProperties(List<EntityDefinitionProperty> properties)
public String getRemoteEntity()
public void setRemoteEntity(String remoteEntity)
public String getEntitySetName()
public void setEntitySetName(String entitySetName)
public boolean isEntitySetEnabled()
public void setEntitySetEnabled(boolean entitySetEnabled)
public String toJsonString()
public int compareTo(EntityDefinition o)
compareTo in interface Comparable<EntityDefinition>public String getKeys()
public EntityDefinitionProperty findPropertyDefinition(String propertyName)
Copyright © 2026 MuleSoft, Inc.. All rights reserved.