Builds a ElPropertyChain based on a chain of properties with dot separators.
This can navigate an object graph based on dot notation such as order.customer.name.
155156157158159160161162163164165
if (embProp == null){ String msg = "Embedded Property "+remainder+" not found in "+getFullBeanName(); throw new PersistenceException(msg); } if (chain == null) { chain = new ElPropertyChainBuilder(true, propName); } chain.add(this); return chain.add(embProp).build(); }
103104105106107108109110111112113
} public ElPropertyValue buildElPropertyValue(String propName, String remainder, ElPropertyChainBuilder chain, boolean propertyDeploy) { if (chain == null) { chain = new ElPropertyChainBuilder(true, propName); } // first add this property chain.add(this);
116117118119120121122123124125126
// associated or embedded bean BeanDescriptor<?> embDesc = getTargetDescriptor(); if (chain == null) { chain = new ElPropertyChainBuilder(isEmbedded(), propName); } chain.add(this); if (containsMany()) { chain.setContainsMany(true); }