|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||
java.lang.Objectcom.elasticpath.domain.impl.AbstractEpDomainImpl
com.elasticpath.domain.impl.AbstractTransientImpl
com.elasticpath.domain.dataimport.impl.AbstractImportFieldImpl
public abstract class AbstractImportFieldImpl
Represents a template ImportField.
| Field Summary | |
|---|---|
static long |
serialVersionUID
Serial version id. |
| Constructor Summary | |
|---|---|
AbstractImportFieldImpl(java.lang.String name,
java.lang.String type,
boolean required)
The default constructor. |
|
| Method Summary | |
|---|---|
void |
checkStringValue(Persistence persistenceObject,
java.lang.String value,
ImportGuidHelper service)
A dummy implementation of the method for most import fields. |
java.lang.String |
getName()
Return the import field name. |
java.lang.String |
getType()
Return the import field type. |
boolean |
isRequired()
Return true if it is a rquired field. |
| Methods inherited from class com.elasticpath.domain.impl.AbstractEpDomainImpl |
|---|
getElasticPath, setElasticPath |
| Methods inherited from class java.lang.Object |
|---|
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Methods inherited from interface com.elasticpath.domain.dataimport.ImportField |
|---|
getStringValue, setStringValue |
| Methods inherited from interface com.elasticpath.domain.EpDomain |
|---|
getElasticPath, setElasticPath |
| Field Detail |
|---|
public static final long serialVersionUID
| Constructor Detail |
|---|
public AbstractImportFieldImpl(java.lang.String name,
java.lang.String type,
boolean required)
name - the name of the import fieldtype - the type of the import fieldrequired - set it to true if the import field is rquired| Method Detail |
|---|
public void checkStringValue(Persistence persistenceObject,
java.lang.String value,
ImportGuidHelper service)
checkStringValue in interface ImportFieldpersistenceObject - the Persistence instance on which to set valuevalue - the value to setservice - the service used to load an associated entity if the given value is a guid.public java.lang.String getName()
getName in interface ImportFieldpublic java.lang.String getType()
getType in interface ImportFieldpublic boolean isRequired()
true if it is a rquired field.
isRequired in interface ImportFieldtrue if it is rquired
|
|||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | ||||||||