All Downloads are FREE. Search and download functionalities are using the official Maven repository.

org.apache.openjpa.persistence.openjpa-orm.xsd Maven / Gradle / Ivy

There is a newer version: 4.0.1
Show newest version




	
	

	
	

	
    	
    
    
	

	
		
			
				
				
			
			
			
			
			
				
				
			
			
			
		
		
		
		
		
		
		
	
	
	
	

	
		
			
			
		
	
	
	
	

	
		
			
			
		
	
	
	

	
		
			
			
			
			
			
		
	
	
	

	
	
		
			
				
					
					
					
					
				
				
			
		
	
	
	
		
			
			
		
		
		
		
		
		
		
		
		
	
	
	

	
	
		
			
				
					
						
						
						
						
						
						
					
				
				
				
			
		
	
	
	

	
	
		
			
				
					
					
				
				
				
				
				
				
				
				
				
				
				
			
		
	
	
	

	
    
    	
			
				
					
						
						
               			
						
					
					
					
					
				
				
				
				
				
				
				
			
		
    
    
    

    
    
    	
			
				
					
						
						
               			
						
					
					
					
				
				
				
				
				
				
				
			
		
    
    
    

    
    
    	
			
				
					
						
						
               			
						
					
					
						
						
               			
						
					
					
					
					
					
					
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
		
    
    
    

    
    
    	
			
				
					
					
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
		
    
    
	
		
			
			
		
	
	
	
		
			
				String name() default "";
    			boolean postLoad() default false;
    			FetchAttribute[] attributes() default {};
    			String[] fetchGroups() default {};
			
		
		
			
			
		
		
		
	
	
	
		
			
				String name() default "";
    			int recursionDepth() default Integer.MIN_VALUE;
			
		
		
		
	
	
	
		
            
                @Target({ TYPE }) @Retention(RUNTIME)
                public @interface DataCache {
    				boolean enabled() default true;
    				String name() default "";
    				int timeout() default Integer.MIN_VALUE;
				}
            
        
		
		
		
	
	
	
		
			
				@Target({ METHOD, FIELD }) @Retention(RUNTIME)
				UpdateAction value() default UpdateAction.RESTRICT;
			
		
		
	
	
	
		
            
            
        
	
	
	
		
			
		
	
	
	
		
		
	
	
	
		
			
				@Target({ TYPE })@Retention(RUNTIME)
				String name() default "";
			    boolean insertable() default true;
			    boolean updatable() default true;
			    String columnDefinition() default "";
			    int precision() default 0; // decimal precision
			
		
		
		
		
		
		
	
	
	
		
			
				@Target({ TYPE }) @Retention(RUNTIME)
				VersionColumn[] value() default {};
			
		
		
			
		
	
	
	
		
			
				@Target({ TYPE }) @Retention(RUNTIME)
				String name() default "";
			    boolean nullable() default true;
			    boolean insertable() default true;
			    boolean updatable() default true;
			    String columnDefinition() default "";
			    int length() default 255;
			    int precision() default 0; // decimal precision
			    int scale() default 0; // decimal scale
			    String table() default  "";
			
		
		
		
		
		
		
		
		
		
		
	
	
	
		
			
		
	
	
	
	
	
		
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
    			XJoinColumn[] value() default {};
    		
    	
		
			
		
	
	
	
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    String referencedColumnName() default "";
			    String referencedAttributeName() default "";
			    boolean unique() default false;
			    boolean nullable() default true;
			    boolean insertable() default true;
			    boolean updatable() default true;
			    String columnDefinition() default "";
			    String table() default "";
    		
    	
        
        
        
        
        
        
        
        
        
    
    
    
    	
    		
				@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String mappedBy() default "";
			    CascadeType[] cascade() default {};
			    boolean optional() default true;
			    boolean embedded() default false;
			    FetchType fetch() default FetchType.EAGER;
    		
    	
    	
			
				
					
					
               		
                	
                	
						
						
					
					
					
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
		
	
	
	
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String mappedBy() default "";
			    Class elementType() default void.class;
			    CascadeType[] elementCascade() default {};
			    boolean elementEmbedded() default false;
			    FetchType fetch() default FetchType.LAZY;
    		
    	
    	
			
				
					
               		
                	
					
					
					
					
						
						
					
					
						
						
					
					
						
						
					
					
						
						
					
					
					
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
		
	
	
	
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    Class keyType() default void.class;
			    Class elementType() default void.class;
			    CascadeType[] keyCascade() default {};
			    CascadeType[] elementCascade() default {};
			    boolean keyEmbedded() default false;
			    boolean elementEmbedded() default false;
			    FetchType fetch() default FetchType.LAZY;
    		
    	
    	
			
				
					
                	
                	
					
					
						
						
                	
               		
						
						
					
					
						
						
                	
                	
						
						
					
					
					
					
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
				
			
		
	
	
	
		
		
		
	
	
	
		
			
		
		
		
		
		
		
		
		
	
	
	
	
		
		
		
		
		
	
	
	
        
            
                public enum ForeignKeyAction {
                RESTRICT,
                CASCADE,
                NULL,
                DEFAULT
                }
            
        
        
            
            
            
            
        
    
    
    
    	
    		
    	
    
    
    
        
            
                @Target({METHOD, FIELD}) @Retention(RUNTIME)
                public @interface ElementJoinColumn {
                String name() default "";
                String referencedColumnName() default "";
                boolean unique() default false;
                boolean nullable() default true;
                boolean insertable() default true;
                boolean updatable() default true;
                String columnDefinition() default "";
                }
            
        
        
        
        
        
        
        
        
    
    
    
    
    	
    		
    	
    
    
    
    
    	
    		
    			@Target({ TYPE }) @Retention(RUNTIME)
			    String name() default "";
			    Column[] columns() default {};
			    XJoinColumn[] joinColumns() default {};
			    ElementJoinColumn[] elementJoinColumns() default {};
			    ContainerTable containerTable() default @ContainerTable(specified = false);
    		
    	
    	
   			
   			
   			
   			
    	
    	
    
    
    
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    String catalog() default "";
			    String schema() default "";
			    XJoinColumn[] joinColumns() default {};
			    ForeignKey joinForeignKey() default @ForeignKey(specified = false);
			    Index joinIndex() default @Index(specified = false);
			    boolean specified() default true;
    		
    	
    	
    		
			
			
    	
    	
    	
    	
    	
    
    
    
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String nullIndicatorColumnName() default "";
			    String nullIndicatorAttributeName() default "";
			    MappingOverride[] overrides() default {};
    		
    	
    	
    		
    	
    	
    	
    
    
    
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String nullIndicatorColumnName() default "";
			    String nullIndicatorAttributeName() default "";
			    XMappingOverride[] overrides() default {};
    		
    	
    	
    		
    	
    	
    	
    
    
    
    
    	
    		
    	
    	
    	
    
    
    
    	
    		
    	
    
    

    
    	
    		
			    @Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    boolean unique() default false;
			    boolean nullable() default true;
			    boolean insertable() default true;
			    boolean updatable() default true;
			    String columnDefinition() default "";
			    int length() default 255;
			    int precision() default 0; // decimal precision
			    int scale() default 0; // decimal scale
    		
    	
    	
    	
    	
    	
    	
    	
    	
    	
    
    
    
    	
    		
    	
    
    
    
    	
    		
    			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    boolean unique() default false;
			    boolean nullable() default true;
			    boolean insertable() default true;
			    boolean updatable() default true;
			    String columnDefinition() default "";
			    int length() default 255;
			    int precision() default 0; // decimal precision
			    int scale() default 0; // decimal scale
    		
    	
    	
    	
    	
    	
    	
    	
    	
    	
    	
    
    
    
    	
    		
    	
    
    
    
    	
    		
	    		@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    String referencedColumnName() default "";
			    String referencedAttributeName() default "";
			    boolean unique() default false;
			    boolean nullable() default true;
			    boolean insertable() default true;
			    boolean updatable() default true;
			    String columnDefinition() default "";
    		
    	
    	
    	
    	
    	
    	
    	
    	
    	
    
    
    
    	
    		
    	
    
    
    
    	
    		
    			@Target({ TYPE }) @Retention(RUNTIME)
			    String name() default "";
			    Column[] columns() default {};
			    XJoinColumn[] joinColumns() default {};
			    ElementColumn[] elementColumns() default {};
			    ElementJoinColumn[] elementJoinColumns() default {};
			    KeyColumn[] keyColumns() default {};
			    KeyJoinColumn[] keyJoinColumns() default {};
			    ContainerTable containerTable() default @ContainerTable(specified = false);
    		
    	
    	
    		
   			
   			
   			
   			
    	
    	
    
	
	
		
            
            
            
        
	
	
	
		
			
				@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    boolean enabled() default true;
			    boolean unique() default false;
			
		
		
		
		
	
	
	
		
			
				@Target({ METHOD, FIELD }) @Retention(RUNTIME)
			    String name() default "";
			    boolean enabled() default true;
			    boolean unique() default false;
			
		
		
		
		
	
	
	
	
	
		
            
                @Target({ TYPE }) @Retention(RUNTIME)
                public @interface DataStoreId {
    			GenerationType strategy() default GenerationType.AUTO;
    			String generator() default "";
				}
            
        
		
		
		
		
	
	
	
		
			
			@Target({ METHOD, FIELD }) @Retention(RUNTIME)
		    String name() default "";
		    boolean enabled() default true;
		    boolean deferred() default false;
		    String[] columnNames() default {};
			
		
		
			
		
		
		
		
	
	
	
		
            
            
            
        
	
	
	
        
            
                @Target({METHOD, FIELD}) @Retention(RUNTIME)
                public @interface OrderColumn {
                String name() default "";
                boolean enabled() default true;
                boolean insertable() default true;
                boolean updatable() default true;
                String columnDefinition() default "";
                int precision() default 0;
                }
            
        
        
        
        
        
        
        
    
    
    
    	
    		
    	
    
    




© 2015 - 2024 Weber Informatics LLC | Privacy Policy