Package org.apache.ofbiz.entity.model
Class ModelViewEntity.ModelViewLink
- java.lang.Object
-
- org.apache.ofbiz.entity.model.ModelViewEntity.ModelViewLink
-
- All Implemented Interfaces:
java.io.Serializable
,java.lang.Iterable<ModelKeyMap>
- Enclosing class:
- ModelViewEntity
public static final class ModelViewEntity.ModelViewLink extends java.lang.Object implements java.io.Serializable, java.lang.Iterable<ModelKeyMap>
- See Also:
- Serialized Form
-
-
Field Summary
Fields Modifier and Type Field Description java.lang.String
entityAlias
java.util.List<ModelKeyMap>
keyMaps
java.lang.String
relEntityAlias
boolean
relOptional
ModelViewEntity.ViewEntityCondition
viewEntityCondition
-
Constructor Summary
Constructors Constructor Description ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, java.util.List<ModelKeyMap> keyMaps)
Deprecated.ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, ModelKeyMap... keyMaps)
Deprecated.ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, ModelViewEntity.ViewEntityCondition viewEntityCondition, java.util.List<ModelKeyMap> keyMaps)
ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, ModelViewEntity.ViewEntityCondition viewEntityCondition, ModelKeyMap... keyMaps)
ModelViewLink(ModelViewEntity modelViewEntity, org.w3c.dom.Element viewLinkElement)
-
Method Summary
All Methods Instance Methods Concrete Methods Modifier and Type Method Description java.lang.String
getEntityAlias()
ModelKeyMap
getKeyMap(int index)
java.util.List<ModelKeyMap>
getKeyMapsCopy()
java.util.Iterator<ModelKeyMap>
getKeyMapsIterator()
int
getKeyMapsSize()
java.lang.String
getRelEntityAlias()
ModelViewEntity.ViewEntityCondition
getViewEntityCondition()
boolean
isRelOptional()
java.util.Iterator<ModelKeyMap>
iterator()
-
-
-
Field Detail
-
entityAlias
public final java.lang.String entityAlias
-
relEntityAlias
public final java.lang.String relEntityAlias
-
relOptional
public final boolean relOptional
-
keyMaps
public final java.util.List<ModelKeyMap> keyMaps
-
viewEntityCondition
public final ModelViewEntity.ViewEntityCondition viewEntityCondition
-
-
Constructor Detail
-
ModelViewLink
public ModelViewLink(ModelViewEntity modelViewEntity, org.w3c.dom.Element viewLinkElement)
-
ModelViewLink
@Deprecated public ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, ModelKeyMap... keyMaps)
Deprecated.
-
ModelViewLink
@Deprecated public ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, java.util.List<ModelKeyMap> keyMaps)
Deprecated.
-
ModelViewLink
public ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, ModelViewEntity.ViewEntityCondition viewEntityCondition, ModelKeyMap... keyMaps)
-
ModelViewLink
public ModelViewLink(java.lang.String entityAlias, java.lang.String relEntityAlias, java.lang.Boolean relOptional, ModelViewEntity.ViewEntityCondition viewEntityCondition, java.util.List<ModelKeyMap> keyMaps)
-
-
Method Detail
-
getEntityAlias
public java.lang.String getEntityAlias()
-
getRelEntityAlias
public java.lang.String getRelEntityAlias()
-
isRelOptional
public boolean isRelOptional()
-
getKeyMap
public ModelKeyMap getKeyMap(int index)
-
getKeyMapsSize
public int getKeyMapsSize()
-
getKeyMapsIterator
public java.util.Iterator<ModelKeyMap> getKeyMapsIterator()
-
iterator
public java.util.Iterator<ModelKeyMap> iterator()
- Specified by:
iterator
in interfacejava.lang.Iterable<ModelKeyMap>
-
getKeyMapsCopy
public java.util.List<ModelKeyMap> getKeyMapsCopy()
-
getViewEntityCondition
public ModelViewEntity.ViewEntityCondition getViewEntityCondition()
-
-