Methods Summary |
---|
public boolean | add(java.lang.Object o)Extent collection is unmodifiable => throw UnsupportedOperationException
throw new UnsupportedOperationException(
I18NHelper.getMessage(messages, "jdo.extentcollection.illegalmodification", // NOI18N
persistenceCapableClass.getName()));
|
public boolean | addAll(java.util.Collection c)Extent collection is unmodifiable => throw UnsupportedOperationException
throw new UnsupportedOperationException(
I18NHelper.getMessage(messages, "jdo.extentcollection.illegalmodification", // NOI18N
persistenceCapableClass.getName()));
|
public void | clear()Extent collection is unmodifiable => throw UnsupportedOperationException
throw new UnsupportedOperationException(
I18NHelper.getMessage(messages, "jdo.extentcollection.illegalmodification", // NOI18N
persistenceCapableClass.getName()));
|
public boolean | contains(java.lang.Object o)
throw new JDOUnsupportedOptionException(
I18NHelper.getMessage(messages, "jdo.extentcollection.methodnotsupported", "contains"));// NOI18N
|
public boolean | containsAll(java.util.Collection c)
throw new JDOUnsupportedOptionException(
I18NHelper.getMessage(messages, "jdo.extentcollection.methodnotsupported", "containsAll"));// NOI18N
|
public boolean | equals(java.lang.Object o)Two extent collections are equal, iff the names of their persistence capable class are equal
if (o == this)
return true;
if (o instanceof ExtentCollection) {
String otherClassName = ((ExtentCollection) o).persistenceCapableClass.getName();
return persistenceCapableClass.getName().equals(otherClassName);
}
return false;
|
public java.lang.Class | getPersistenceCapableClass()
return persistenceCapableClass;
|
public int | hashCode()The hashCode is mapped to the hashCode of the name of the extent collection's persistence capable class
return persistenceCapableClass.getName().hashCode();
|
public boolean | isEmpty()
throw new JDOUnsupportedOptionException(
I18NHelper.getMessage(messages, "jdo.extentcollection.methodnotsupported", "isEmpty"));// NOI18N
|
public java.util.Iterator | iterator()
RetrieveDesc rd = pm.getRetrieveDesc(persistenceCapableClass);
return ((Collection)pm.retrieve(rd)).iterator();
|
public boolean | remove(java.lang.Object o)Extent collection is unmodifiable => throw UnsupportedOperationException
throw new UnsupportedOperationException(
I18NHelper.getMessage(messages, "jdo.extentcollection.illegalmodification", // NOI18N
persistenceCapableClass.getName()));
|
public boolean | removeAll(java.util.Collection c)Extent collection is unmodifiable => throw UnsupportedOperationException
throw new UnsupportedOperationException(
I18NHelper.getMessage(messages, "jdo.extentcollection.illegalmodification", // NOI18N
persistenceCapableClass.getName()));
|
public boolean | retainAll(java.util.Collection c)Extent collection is unmodifiable => throw UnsupportedOperationException
throw new UnsupportedOperationException(
I18NHelper.getMessage(messages, "jdo.extentcollection.illegalmodification", // NOI18N
persistenceCapableClass.getName()));
|
public int | size()
throw new JDOUnsupportedOptionException(
I18NHelper.getMessage(messages, "jdo.extentcollection.methodnotsupported", "size"));// NOI18N
|
public java.lang.Object[] | toArray()
throw new JDOUnsupportedOptionException(
I18NHelper.getMessage(messages, "jdo.extentcollection.methodnotsupported", "toArray"));// NOI18N
|
public java.lang.Object[] | toArray(java.lang.Object[] a)
throw new JDOUnsupportedOptionException(
I18NHelper.getMessage(messages, "jdo.extentcollection.methodnotsupported", "toArray"));// NOI18N
|