Searched refs:field (Results 1 - 25 of 67) sorted by relevance

123

/glassfish-3.1.2/deployment/dol/src/main/java/com/sun/enterprise/deployment/
H A DPersistentFieldInfo.java49 * Note: the "field" variable is only available at runtime.
59 field = other.field;
66 public transient Field field; field in class:PersistentFieldInfo
71 // these two fields are the corresponding pkey field and related object,
H A DCMRFieldInfo.java49 * Note: the "field" variable is only available at runtime.
55 public transient Field field; field in class:CMRFieldInfo
59 // foreign key fields corresponding to this CMR field
H A DFieldDescriptor.java46 * I represent a field on an ejb.
47 * Either an actual field (e.g. for EJB1.1 CMP)
48 * or a virtual field (e.g. for EJb2.0 CMP)
56 * Constructrs an empty field descriptor
62 * Constructrs a field descriptor with the given name.
69 * Constructrs a field descriptor with the given name and description.
76 * Constructs a field descriptor from the supplied java.lang.reflect.Field object.
79 public FieldDescriptor(Field field) { argument
80 this(field.getName(), "no description");
83 /** Equality iff the other objects is a field descripto
[all...]
H A DInjectionTarget.java51 * of the injected target, and field/method information used for injection.
64 private transient Field field=null; field in class:InjectionTarget
87 * of the injected field. This value is set on the descriptor
89 * field/method name during validation.
113 return field;
115 public void setField(Field field) { argument
116 this.field = field;
H A DPersistenceDescriptor.java70 // true if primkey-field is set or for container-generated pk field
73 // false for beans with no primkey-field and pk class = Object
117 public String getCMRFieldReturnType(String field) { argument
120 if( !field.trim().equals("") ) {
122 String methodName = "get" + field.substring(0,1).toUpperCase()
123 + field.substring(1);
351 * Return the CMRFieldInfo object for the given CMR field
360 throw new DeploymentException("CMRFieldInfo not found for field "+fieldName);
424 "No local interface for target bean of CMR field");
500 addCMPField(String field) argument
509 removeCMPField(String field) argument
532 isCMPField(String field) argument
597 isPkeyField(String field) argument
1027 getTypeFor(String field) argument
1032 getCMPFieldType(String field) argument
[all...]
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/jdo/
H A DFieldElementHolder.java58 /** Add the supplied field to the collection of fields maintained by this
60 * @param field the field to be added
63 public void addField (PersistenceFieldElement field) argument
74 /** Remove the supplied field from the collection of fields maintained by
76 * @param field the field to be removed
79 public void removeField (PersistenceFieldElement field) argument
104 /** Returns the field with the supplied name from the collection of fields
107 * @return the field wit
115 containsField(PersistenceFieldElement field) argument
[all...]
H A DFieldGroupElement.java78 /** @return implemetation factory for this field group
85 /** Add the supplied field to the collection of fields maintained by this
87 * @param field the field to be added
90 public void addField (PersistenceFieldElement field) argument
93 addFields(new PersistenceFieldElement[]{field});
107 /** Remove the supplied field from the collection of fields maintained by
109 * @param field the field to be removed
112 public void removeField (PersistenceFieldElement field) argument
163 containsField(PersistenceFieldElement field) argument
[all...]
H A DPersistenceClassElement.java57 1. throw ModelException on add duplicate field or concurrency group (will
231 /** Add the supplied field to the collection of fields maintained by this
233 * @param field the field to be added
236 public void addField (PersistenceFieldElement field) argument
239 addFields(new PersistenceFieldElement[]{field});
253 /** Remove the supplied field from the collection of fields maintained by
255 * @param field the field to be removed
258 public void removeField (PersistenceFieldElement field) argument
324 containsField(PersistenceFieldElement field) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/query/util/type/
H A DFieldInfo.java64 * The name of the field.
74 * The reflection representation of the field.
76 protected Field field; field in class:FieldInfo
93 public FieldInfo (Field field, ClassType classType) argument
95 this.name = field.getName();
97 this.field = field;
102 * Checks whether this field is defined as persistent field.
103 * @return true if the field i
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/mapping/
H A DCacheMapping.java47 * construct the key into the cache, and a set of constraints on the field
59 // a field to force caching engine to refresh entry
107 /** set the timeout field
108 * @param field default timeout of the cacheable entries
110 public void setTimeoutField(Field field) { argument
111 this.timeoutField = field;
114 /** set the refresh field
115 * @param field Boolean field for controlling when a refresh is needed
117 public void setRefreshField(Field field) { argument
156 addKeyField(Field field) argument
171 addConstraintField(ConstraintField field) argument
[all...]
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/util/
H A DModelValidator.java70 /** This field holds the model object used for validation */
73 /** This field holds the name of the class being validated */
76 /** This field holds the class loader used to load class
233 PersistenceFieldElement field = fields[i];
235 list.add(createFieldCardinalityComponent(field));
236 list.add(createFieldMappingComponent(field));
237 list.add(createFieldBlobMappingComponent(field));
238 list.addAll(getRelatedClassValidationList(field));
327 * representing the field and relationship tests to be performed.
329 * field an
417 getRelatedClassValidationList( PersistenceFieldElement field) argument
610 createFieldExistenceComponent(Object field) argument
620 createFieldPersistenceComponent( final PersistenceFieldElement field) argument
646 createFieldConsistencyComponent( final PersistenceFieldElement field) argument
686 createFieldConsistencyComponent( final MappingFieldElement field) argument
717 createFieldPersistenceTypeComponent( final PersistenceFieldElement field) argument
754 createFieldCardinalityComponent( final PersistenceFieldElement field) argument
909 createFieldMappingComponent( final PersistenceFieldElement field) argument
947 createFieldBlobMappingComponent( final PersistenceFieldElement field) argument
1052 createCollectionClassComponent( final RelationshipElement field) argument
1087 createElementClassComponent( final RelationshipElement field) argument
1320 createInverseFieldComponent( final RelationshipElement field) argument
1354 createRelatedClassMatchesComponent( final RelationshipElement field) argument
1396 createInverseMappingComponent( final RelationshipElement field) argument
1499 createFieldDefaultFetchGroupComponent( final MappingFieldElement field) argument
1980 createColumnOverlapComponent( final MappingFieldElement field) argument
2566 getOffendingObject(Object field) argument
2582 getKey(String keyBase, Object field) argument
2597 getArguments(String className, Object field) argument
2720 isRelationship(Object field) argument
2726 shouldBeRelationship(PersistenceFieldElement field) argument
2734 isLegalRelationship(PersistenceFieldElement field) argument
2746 getRelatedClass(PersistenceFieldElement field) argument
2786 isJoin(MappingRelationshipElement field) argument
[all...]
/glassfish-3.1.2/persistence/cmp/enhancer/src/main/java/com/sun/jdo/api/persistence/enhancer/meta/
H A DJDOMetaDataPropertyImpl.java248 * Tests whether a field of a class is known to be persistent.
253 JDOField field = getJDOField (classPath, fieldName);
254 return (field != null ? field.isPersistent () : false);
258 * Tests whether a field of a class is known to be transactional.
263 JDOField field = getJDOField (classPath, fieldName);
264 return (field != null ? field.isTransactional () : false);
268 * Tests whether a field of a class is known to be Primary Key.
273 JDOField field
[all...]
H A DJDOMetaDataProperties.java113 * specified in the properties: To find the field
114 * <code>test.Test1#field</code>, the keys <code>test.Test1</code> and
257 * Gets the information about the specified field.
260 * @param fieldname The name of the field of the class.
262 * @return The information about the field or <code>null</code> if
488 if (name.startsWith (clazz.getName () + FIELD_DELIMITER)) //field found
501 * Parses the attribute-string of a field.
505 * @param clazz The class to field belongs to.
530 JDOField field = new JDOField (fieldname);
536 field
1280 addField(JDOField field) argument
[all...]
/glassfish-3.1.2/web/web-core/src/main/java/org/apache/tomcat/util/modeler/
H A DFeatureInfo.java101 * The field information for this feature.
125 * <p>Add a new field to the fields associated with the
128 * @param field The field to be added
130 public void addField(FieldInfo field) { argument
131 fields.add(field);
/glassfish-3.1.2/ejb/ejb-container/src/main/java/com/sun/ejb/containers/
H A DTimerSchedule.java645 int start, int size, boolean incrementAllowed, String field) {
648 if (!isDayOfWeek(field)) {
663 processRange(s0, bits, start, size, field);
665 bits.set(getNumericValue(s0, start, size, field));
673 processRange(s, bits, start, size, field);
682 begin = getNumericValue(arr[0], start, size, field);
685 int incr = getNumericValue(arr[1], start, size, field);
694 bits.set(getNumericValue(s, start, size, field));
701 private void processRange(String s, BitSet bits, int start, int size, String field) { argument
705 int begin = getNumericValue(arr[0], start, size, field);
644 parseNumbersOrNames(String s, BitSet bits, int start, int size, boolean incrementAllowed, String field) argument
828 processRangeAsList(List list, String s, String field, Pattern pattern) argument
843 skipToNextValue(Calendar date, BitSet bits, int field, int highfiled) argument
896 getNumericValue(String s, int start, int size, String field) argument
1086 parseInt(String s, String field) argument
1104 assertValid(int v, int min, int max, String field) argument
1112 assertNotNull(Object s, String field) argument
1120 assertNotEmpty(String s, String field) argument
1129 assertValid(Integer v, String s, String field) argument
1139 isDayOfWeek(String field) argument
[all...]
/glassfish-3.1.2/web/web-glue/src/main/java/com/sun/appserv/web/cache/
H A DDefaultCacheHelper.java121 * Key is composed of: servletPath + a concatenation of the field values in
122 * the request; all key field names must be found in the appropriate scope.
154 // all defined key field must be present
210 * ias-web.xml; should add a refresh-field element there:
211 * <refresh-field name="refresh" scope="request.parameter" />
218 Field field = mapping.getRefreshField();
219 if (field != null) {
220 Object value = field.getValue(context, request);
221 // the field's string representation must be "true" or "false"
242 // if the field i
[all...]
/glassfish-3.1.2/persistence/cmp/ejb-mapping/src/main/java/com/sun/jdo/api/persistence/mapping/ejb/
H A DAbstractNameMapper.java54 * also has methods for translation of field names. The basic entry point
64 /** Defines key field name for unknown primary key */
66 /** Defines version field name prefix for version consistency */
165 * @param fieldName the name of the field in the persistence-capable class
168 * local interface which is related to the specified class name, field name
189 * @param fieldName the name of the field in the ejb
215 * @param fieldName the name of the field in the persistence-capable class
218 * remote interface which is related to the specified class name, field name
239 * @param fieldName the name of the field in the ejb
253 /** Gets the name of the field i
[all...]
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/ejb/
H A DEjbUtils.java66 * The primary key class field must be a subset of the names of the
69 * @param field the field to be checked for containment within the names of the
73 * @return <code>boolean</code> true if field is subset of CMP fields, false otherwise
75 public static boolean isFieldSubsetOfCMP(Field field, Set CMPFields) { argument
76 if (CMPFields.contains(new FieldDescriptor(field))) {
86 * field names of the entity bean class that comprise the key.
89 * The primary key class field must correspond to the field names of the
92 * @param field th
97 isPKFieldMatchingBeanFields(Field field, Vector beanFields) argument
[all...]
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/mapping/
H A DMappingClassElement.java120 // public boolean mapFieldToTable (MappingFieldElement field,
253 //======================= field handling ===========================
261 /** Scans through this mapping class looking for a field whose
263 * @param name name of the field to find.
264 * @return the mapping field whose name matches the name parameter
268 /** Adds a field to the list of fields in this mapping class.
269 * @param field field element to be added
272 public void addField (MappingFieldElement field) throws ModelException; argument
274 /** Removes a field fro
278 removeField(MappingFieldElement field) argument
[all...]
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/model/
H A DTableDesc.java80 /** Version field used for version consistency */
175 void setVersionField(LocalFieldDesc field) { argument
176 versionField = field;
180 * Returns the field representing the version column for this
184 * @return Version field.
/glassfish-3.1.2/web/weld-integration/src/main/java/org/glassfish/weld/
H A DInjectionPointHelper.java72 Field field = null;
78 field = (Field) member;
79 annotations = field.getDeclaredAnnotations();
109 if( field != null ) {
110 envDependencyName = declaringClass.getName() + "/" + field.getName();
/glassfish-3.1.2/verifier/verifier-impl/src/main/java/com/sun/enterprise/tools/verifier/tests/
H A DInjectionTargetTest.java55 * The field or method where injection annotation is used may have any access
82 Field field = classObj.getDeclaredField(target.getFieldName());
83 testMethodModifiers(field.getModifiers(), "field", field);
/glassfish-3.1.2/persistence/cmp/model/src/main/java/com/sun/jdo/api/persistence/model/
H A DEnhancerModel.java239 * If element denotes a field, it returns the type of the field.
241 * Note, element is either a field element as returned by getField, or a
255 * Returns a list of names of all the declared field elements in the
258 * @return the names of the field elements for the specified class
265 * Returns the field element for the specified fieldName in the class
268 * the field to be checked
269 * @param fieldName the name of the field to be checked
270 * @return the field element for the specified fieldName
276 /** Determines if the specified field elemen
[all...]
/glassfish-3.1.2/security/jaspic-provider-framework/src/main/java/com/sun/jaspic/config/jaas/
H A DExtendedConfigFile.java99 Field field = ConfigFile.class.getDeclaredField("configuration");
100 field.setAccessible(true);
101 map = (HashMap) field.get(ExtendedConfigFile.this);
/glassfish-3.1.2/persistence/cmp/support-sqlstore/src/main/java/com/sun/jdo/spi/persistence/support/sqlstore/sql/generator/
H A DCorrelatedExistSelectPlan.java75 LocalFieldDesc field = (LocalFieldDesc) parentField.foreignFields.get(i);
76 addTable(field);
81 * The correlated constraint joining this subquery with the parent field.

Completed in 91 milliseconds

123